PictureBox Source File?

B

Bob

Boy,
Do I feel dumb.
I created an Image for a picture box control which is currently in use and I
can't find the source file.
If I click on the image property ellipis it opens on the last directory used
by any project.
I can't find the filename but it obviously stored somewhere because the
picturebox opens the correct image on instantiation.
Why does it not show the filename in the property list?
How can I find out where it is looking for the image?
thanks
Bob
 
B

Bob Powell [MVP]

Unfortunately, it's probably not looking at an image on disc but at the
definition held in the resources.

This means that unless you can magic the filename out of your head it's lost
to you unless you alter the program and get the picturebox to save a copy of
it's image.....

Be careful because it might be the only copy you have.

--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top