How would i get an imageBox Background image file location ?
Thanks in advanced.
Martje
0
Junior Poster in Training
Recommended Answers
Jump to PostIf by imageBox, you mean PictureBox Control, you can get the location like this.
string location = pictureBox1.ImageLocation;
**EDIT**
nevermind i didn't read the question obviously. Let me play around with this for a few and i'll get back with you.
Jump to PostI have a new question. Why would you not know the location of the backgroundimage. When you set it through the properties or through code, you have to select it from a known location.
How and where is this background image being set?
All 5 Replies
jbrock31
11
Junior Poster in Training
jbrock31
11
Junior Poster in Training
Martje
0
Junior Poster in Training
jbrock31
11
Junior Poster in Training
UsSy
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.