Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Image file name

Status
Not open for further replies.

Thrakazog

Programmer
Dec 10, 2001
48
US
I'm loading the image in the picturebox using the image.fromfile command. Later I need to read the path back to know where the image came from. Is there any way in VB.net to get the path of an image displayed in a picturebox?

Thanks,

 
nope, but if you made the image fromfile the there must be a variabele with the path included, so use that.

Christiaan Baes
Belgium

If you want to get an answer read this FAQ faq796-2540
There's no such thing as a winnable war - Sting
 
Crap. Guess i'll just build my own picturebox contol to store the data I need. Thanks anyway.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top