Quick Picturebox Question

Posted on 2006-06-05
Last Modified: 2010-04-23
I have been trying to display an image in a picture box like below with no success.

picturebox1.image("v:\images\" & MyVariable)
Question by:chrisryhal
    LVL 96

    Accepted Solution

    PictureBox1.Image = Image.FromFile("v:\images\" & MyVariable)

    LVL 5

    Expert Comment

    try this:

    picturebox1.Image = Image.FromFile("[your path]');

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Article by: jpaulino
    XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String ( Literal, only instead of starting and ending with w…
    Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now