• 0

[VB.NET] Image.FromFile("path_from_DB")


Question

how to retrieve the path for an image from Access database and regard to string (path) load image within PictureBox .. i.e. PictureBox.Image = Image.FromFile(Application.StartupPath & "path") 'path should look like: \pictures\image1.jpg

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

You could use PictureBox.Image = New Bitmap(Path to image here)

that would work just as well.

Also, cause i havent been able to get info from a access database under .net (ever), i cant help with the database side, sorry.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.