Skip to main content
gamedev.net
🔒 Locked

vb load picture

Started by jedi2832 Oct 19, 2003 at 12:37 PM 0 replies 450+ views
Original Post
jedi2832
jedi2832
cdlPicture.Filter = "JPG Files|*.jpg" cdlPicture.ShowOpen PathName = cdlPicture.FileName If Len(PathName) = 0 Then Exit Sub Picture1.Picture = LoadPicture(FileName) what i'm trying to do here is, after its opened, i can select a jpg picture, and send it to picture1 picture box, but i not sure about how to create the loadpicture part, i created a private sub LoadPicture(), but what do i put in there, so i can load the picture and can put it onto picture1 picture box nvm i got it, i changed filename to pathname and it worked [edited by - jedi2832 on October 19, 2003 1:44:56 PM]

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.