|
-
Jan 11th, 2003, 01:26 PM
#1
Thread Starter
Addicted Member
adding photos during runtime.
I have a persons database. I would like to be able to include a photograph of the person as well.
i will create an additional field in my table for the photos at design time, but
how would i be able to add new photographs during runtime?
Any ideas?
Thanks
-
Jan 11th, 2003, 03:21 PM
#2
Hyperactive Member
Picture1.Picture = LoadPicture("c:\folder\filename.bmp")
here you go ... this is what you need, right ?
____________________________________________
Please rate my messages. Thank you!
____________________________________________
Bram Vandenbon
http://www.bramvandenbon.com
-
Jan 11th, 2003, 05:35 PM
#3
Thread Starter
Addicted Member
thanks BramVandenbon
However, the problem i am having now is that the picturebox displays only a small part of the bitmap.
How can i fit the entire bitmap in to the picturebox without resizing the picturebox.
Thanks
-
Jan 11th, 2003, 06:41 PM
#4
Frenzied Member
Instead of Picturebox you may use Image control with its Stretch property = True - just set appropriate size to it at design time.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|