-
November 3rd, 2009, 02:07 AM
#1
calling files from resource folder
HI i need some help in using a picturebox to call pictures out of the resource folder and loop it
previously i have coded:
Me.PictureBox1.Image = Image.FromFile(Application.StartupPath + "\\JPG LandoltC\" + filePath + ".jpg")
where filePath is the function to locate the name of the pictures
but now i have to put everything into the .exe to make it more "sightly"
so now
i'm trying
Me.PictureBox1.Image = My.Resources.filePath
and its not working... can someone guide me?
Tags for this Thread
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
|