View Full Version : putting i image in a vb app..
sir pannels
10-16-2002, 10:34 AM
hey more vb hehe.
well i know you click and drag the icon of a image into your form but i cant find anywhere to select an actual image i have on file..
anyideas?
thanks
P
Roelf
10-16-2002, 11:24 AM
put a picturebox or an imagecontainer on the form, then select the sourceproperty ot this object and point it to the imagefile of your choice. You can also programatically change the source during execution of the program
sir pannels
10-20-2002, 01:16 PM
hey,
yeh I tried that befor but im confused.
when i click the data source am i meant to type a path to the pic on my computer or what as there is no browse button...?
cheers
P
Roelf
10-21-2002, 08:56 AM
when you click the datasourceproperty, a little button appears with three dots on it. click it and be surprised :D
oracleguy
10-21-2002, 11:34 PM
Actually if you are using the picturebox or image container, you want to use the 'Picture' property. When you click on it, there should be a little button and click on it and you can browse for the picture.
Roelf
10-22-2002, 07:26 AM
Originally posted by oracleguy
Actually if you are using the picturebox or image container, you want to use the 'Picture' property. When you click on it, there should be a little button and click on it and you can browse for the picture.
thats the property i meant, dont have VB running on the pc im working on right now, didnt remember the actual propertyname
vBulletin® v3.8.2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.