...As Integer) As System.Drawing.Image
Dim NewHeight As Integer = TargetHeight
Dim NewWidth As Integer = NewHeight / OldImage.Height * OldImage.Width
If NewWidth > TargetWidth Then
NewWidth = TargetWidth
NewHeight = NewWidth / OldImage.Width *...
thank you for your help...I tried to save the icon with the sggestions above...this method works and there is now a preview of the saved Icon, however it is extremely low res...is there anything vb can do to save this in high res?
InkedGFX
I save 1 image as an icon ...but when I ge to the folder where i saved it , there is no preview of the thumbnail...there is just a white box with the icon name ...if i open the icon the image is correct but how do I get vb to make a thumbnail preview for it when the icon is saved?
InkedGFX
I was thinking about writting a RIP program for color seperating and ripping images down for screen printing in VB.NET
is it even possible?
what I need to do is load an image - get each color in the image and seperate them - then halftone them and put them on there own window then be able to...
haha ...good catch ..and yes it should be.I will change it
I have all the namespaces imported, but I always still call the full name out..not sure why
Thanks
InkedGFX
...image = Picturebox4.image
dim sourceimage2 as image = Picturebox3.image
dim sourceimage3 as image = Picturebox2.image
savedlg.filter = "Save Icon (*.ico) |*.ico"
savedlg.title = "Save Icon As"
if savedlg.showdialog() = dialogresult.ok then
dim EXT =...
I am creating a image to icon convertor and would like to add "32x32" before the extention . Im using a save dialog to save the converted file . is there a way to add "32x32" before the ".ico" extention in code?
thank you
InkedGFX
I want to constrain the proportions of an image while resizing. I have two radio buttons on my form , I want to be able to resize an image while constraining either from the width or height of the image.so the user picks either constrain from the width or from the height....anyone know where to...
I am trying to add a font dialog to my program...but whenever the code is fired the font dialog appears twice...when I run the program and click the buttom the font dialog appears..when I choose the font and size then click ok the dialog dissappears then reappears again..below is the code:
dim...
I need some help with adding "%" to a numeric up and down control...is it possible to add this to the value of the control in code.
example:
if the value of the numeric up and down control is "25" then I need to add "%" the percent symbol to the end like this 25%
is it possible?
any help is...
yes...write a method for it....
public sub generateComboBox(byref Combo as Combobox)
'do work here...set all the properties here as well
end sub
InkedGFX
I had an idea to write a program to search the TradeBit website with user defined search criteria.....I looked on the tradebit website for a developers page or a link to an api they might have ...I havent been able to find anything on the subject of developing for tradebit.....anyone have any...
I have a project that I am finished coding and would like to create a setup for it...so other pc's can run the program even if they dont have vb installed on there machine...I go throught the steps to create the setup but get a warning that the net 3.5 framework isnt added to the setup....I know...
I have a multiline textbo that I load a txt file into at runtime...but when i do this all the text in the texbox is selected..how to stop this from happening?
here is the load code
Private HelpFile As String = "path"
then in the load event
If IO.File.Exists(HelpFile) then
txthelpView.Text =...
I am new to database creation...and when I say new I mean 2 days into it new.
I am writing a program to store customer info for a invoice program...kind of like a customer management system...my question is when I add a new database then create a new table and create the fields then save the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.