Hi all,
I've been working with C# for some time now, even created a Mastermind-game yesterday to learn some stuff (Mastermind is a very nice training project by the way, I really had fun coming up with solutions)
But while that I ran across a problem that I haven't been able to sort out. In my program I used 3 images to display in a picturebox, a red orb, an orange orb and a red orb. They were there to display wether the user was on the right track in the game.
But I couldn't for the life of me figure out how to get them compiled in the program without actually using them first!
I ended up creating 3 hidden pictureboxes with the images, this worked beautifully and nobody was the wiser, but I would still like to do this the right way (and learn by doing so)
Now I have found out about the resources thing (I'm using Visual Studio 2008 by the way) and this seemed like just what I needed.... But how the heck do I access those files after importing them?!
I've found this link from microsoft:
http://support.microsoft.com/kb/319292
which seems to address my problem, but it seems incredibly more complicated then it should be in my eyes.
So my question is this:
I have multiple images I want to address but can't use them in an initial load, so how do I compile them in with the program, and how do I access them afterwards?
Thanks for reading and helping all!
(P.S. Am I just being blind or has the search-function vanished on the forum?)