display pictures from a folder

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts

  • =?Utf-8?B?a2FyaW0=?=
    Guest replied
    Re: display pictures from a folder

    thanks alot for the help. that answers my question...

    Leave a comment:


  • kimiraikkonen
    Guest replied
    Re: display pictures from a folder

    On Oct 1, 1:15 pm, karim <ka...@discussi ons.microsoft.c omwrote:
    Hello all,
         Is there a simple cod in vb 2008 to find a folder on a networkand open
    a picture from that folder inside the form?
    >
    thanks for any of your help.
    If you're meaning of simply running a file regardless of its
    extenstion, you can use System.Diagnost ics.Process.Sta rt passing
    proper arguments.

    If you just want to display image files on your form, use PictureBox
    control on your form and you can load images dynamically using
    Picturebox's ImageLocation property.

    ' Like:
    PictureBox1.Ima geLocation = "c:\file.jp g"

    Hope this helps,

    Onur Güzel

    Leave a comment:


  • rowe_newsgroups
    Guest replied
    Re: display pictures from a folder

    On Oct 1, 6:15 am, karim <ka...@discussi ons.microsoft.c omwrote:
    Hello all,
         Is there a simple cod in vb 2008 to find a folder on a networkand open
    a picture from that folder inside the form?
    >
    thanks for any of your help.
    You can use the System.IO.Direc tory class to find the particular file,
    and then depending on what you mean by "open a picture" you can load
    the image onto your form or open it with the default program by using
    System.Diagnost ics.Process.Sta rt(...)

    Thanks,

    Seth Rowe [MVP]

    Leave a comment:


  • =?Utf-8?B?a2FyaW0=?=
    Guest started a topic display pictures from a folder

    display pictures from a folder

    Hello all,
    Is there a simple cod in vb 2008 to find a folder on a network and open
    a picture from that folder inside the form?

    thanks for any of your help.
Working...