Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 How to change an image by only using the code?
Index -> Programming, Visual Basic and Other Basics -> Visual Basic Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
ohgeez_




PostPosted: Mon Oct 02, 2006 9:18 pm   Post subject: How to change an image by only using the code?

How to change an image by only using the code? i've tried to do something with directories. but i got nowhere. i noe how to do this in turing. but it doesnt seem to apply in the same idea in vb. anyone wanna tell me how to make it work?

thanks in advance =))
Sponsor
Sponsor
Sponsor
sponsor
Silent Avenger




PostPosted: Mon Oct 02, 2006 9:33 pm   Post subject: (No subject)

If you want to change the image in a picture box or image box you'll have to use the Loadpicture property. So using Picture1.picture = Loadpicture(filename) you'll be able to load any picture if you know where the picture is located.
Display posts from previous:   
   Index -> Programming, Visual Basic and Other Basics -> Visual Basic Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: