Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Assigning an image to a control
Message
 
To
29/11/2003 12:46:04
David Brunelle
Université de Sherbrooke
Sherbrooke, Quebec, Canada
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00854456
Message ID:
00854542
Views:
16
>This may sound stupid, but I just can't seem to find a way to assign a image file to an imagebox or a picturebox in VB6. I need to be able to change the picture dynamically, but it doesn't work when I set the picture property.. CAn anybody help onthis one?

picBox.Picture = LoadPicture("mypicturefile.bmp")
Brian Seekford
Seekford Solutions, Inc.
http://www.SeekfordSolutions.com
Internet ActiveX Controls and .NET Class Libraries.
SMTP/S FTP POP3/S HTTP/S SNTP MIME PING WHOIS TRACEROUTE NNTP DNS MX
Base64, UUEncode, yEnc, MD5, SHA1, URL, Quoted-Printable.
Resizer and Tooltips
Email Verification and more. Check us out!
Previous
Reply
Map
View

Click here to load this message in the networking platform