Quick Picturebox Question

I have been trying to display an image in a picture box like below with no success.

picturebox1.image("v:\images\" & MyVariable)
LVL 2
chrisryhalAsked:
Who is Participating?
 
Bob LearnedConnect With a Mentor Commented:
PictureBox1.Image = Image.FromFile("v:\images\" & MyVariable)

Bob
0
 
TertioptusCommented:
try this:

picturebox1.Image = Image.FromFile("[your path]');
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.