Click to See Complete Forum and Search --> : Db/Picturebox manipulation
How would you have a picturebox (or imagelist inside the box) change to a different picture by selecting a different entry in a database?
Mr.T3
abhijit
Apr 16th, 2000, 01:15 AM
well I have two questions for you.
when do you want to load the picture in the picture box?
and where do you want to keep the images.
there are two ways to keep the images. one is to store them in the database [not recommended]
and the second is [to keep them on the hard disk and store the path in the database]
well if you want to load your image list at runtime- thats easily done.
frankly speaking I havent understood your question.
abhijit
Ok, basically, I want the picture to change whenever a different database entry is selected by the user. It doesn't really matter which way i store the images, but I would prefer if they were embedded in the compiled program (to prevent the user from messing them up).
Hope this helps you help me,
Mr.T3
Actually, i think it would be best to include them in the database unless there is some deadly reason not to. This program will be given out to other people, and who knows where they'll put the files, and I'd like to have a simple directory structure anyways. I'd rather have an exe, a help file, and a readme than a folder with 300 some odd pictures in it.
Mr.T3
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.