Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do I do this..?
#2
The easiest way to do this, in my opinion, is to add the image as a reference to the actual program. You would click Project, go to 'My Project's Properties'. Go to references, and drag the image from your Windows Explorer into the white space. Now, it can be accessed like this:
Code:
My.References.image.png
*

And then to do what you need you would do something like this:

Code:
if pictureBox1.Image == My.References.image.png
*

*This might work, I haven't done much work with this kind of coding. You would have two assign the image through the 'My References' option, though I think. Hope this helps and hopefully Brandon or Snake Eyes can come help you with more specifics in case I screwed up.


Messages In This Thread
How do I do this..? - by Ecnarf - 12-06-2012, 07:55 PM
Re: How do I do this..? - by Derek275 - 12-09-2012, 04:17 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)