Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Assigning an image to a control
Message
 
À
29/11/2003 12:46:04
David Brunelle
Université de Sherbrooke
Sherbrooke, Québec, Canada
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Divers
Thread ID:
00854456
Message ID:
00854542
Vues:
17
>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!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform