Hello world! I'm talking about how to use the local directory to store images in C# I have a program with a button btnCat, btnMouse, and a picture box picAnimal. You need to make sure that you set autosize for the size mode In the picture box. Let's run the program first and see what we have here. At Form load it tells me what my local directory is. and I'm going to show you the code afterwards but I have it in myCsharp Cat-Mouse is the name of the project. bin Debug When I click cat, The picture of the cat. Is in that debug directory. And when I click the mouse. it shows you the path for that, it's also in that debug directory. The mouse is an animated gif. Cat is not, and it's not transparent. you can see the mouse is transparent there's a wide variety of types that you can display. Let's take a look at our code. Up here, globally, I declare localDirectory as The system IO, IO stands for input output. GetDirectoryName. And then it says Environment.Get CommandLineArgs and the first argument on the command line. That's a little complicated, but you can take it as it is, it works. You can also go out to the Microsoft reference and explore that. In detail if you want. But what that gives me, is the path to where this file is running from, where my project is. So let's take a look at that directory: And you can see here I have Opened up myCsharp, Cat-Mouse, bin, Debug and you can see that I put cat.gif And mouse.gif Into that debug directory where my project is. OK To use that In form load I simply display what that local directory is. Sometimes it's very convenient to display things As you go along just for debugging purposes. When I click on the cat button, I display the local directory + "/cat.gif" That's what I'm going to show up. And then picAnimal.Image = Image.FromFile And inside parentheses, that local directory, plus The slash cat.gif. That slash is important. OK When I click on the mouse, I declare a string pic. Equal to mouse. And then I'm going to use The local directory, plus a slash, plus the pic. plus dot gif. So depending on how you got this value. You might want to. Do it this way. So you can compare this statement is exactly the same as the one up there except that I have pic as a variable so I have to concatenate the local directory, the Slash. The name of the animal and the dot gif. Don't forget the dot, don't forget the Slash. And that's it.