Come on now. I only program as a hobby. I've only done console programs so far. There is a lot of stuff I have not done. You programmers need to have some more understanding of what it's like not to be a full time developer. If you came to me for guitar lessons I too could slice you to ribbons for all that you don't know. But that is a very poor way of teaching guitar. Why would I need a byte array anyway. Just load the photo into the viewer. My photos will not be changing.
Dioxazine
Posts
-
Is my program idea possible? -
Is my program idea possible?Thanks. But I wish I understood what those lines of code mean. The only thing I understand is where you added the path to the image. That makes sense. But byte[] data and File.ReadAllBytes I don't know the why of that. And I don't know what MemoryStream ms is either. If you could perhaps explain what these lines do I would appreciate it.
-
Is my program idea possible?I have an idea for a program using the picture viewer control. I would like to have a label at the top of the form that says "Choose a photo of the musicians listed below to see a photo." Then below that I would make four option buttons. And next to each option button put a musician's name. Then below that on the bottom have two buttons. One buttons says "Show photo." The other button says "Clear image." Problem is all the Youtube videos I've seen that demonstrate the picture box have you using open file dialog and it looks like you have to manually browse into the folder on your drive to select the photo. I don't want to do that. I want my program to be automatic. No browsing for a photo. You select an option and then hit the button "Show photo" and the program shows the photo in the viewer. But I don't know if this is possible so let me know please.
-
If you install two languages when installing Visual Studio is there a way to set this up?I just installed Visual C++ and Visual C#. But there appears only one text box under Projects that allows you to tell Visual Studio where you want your projects saved. Embarcadero has the same single text box. So if a guy switches to the other language does he have to go to that text box and change the directory to his other folder every time he switches? Seems to me there should be a way for both languages to be accomodated and both will be saved in their proper folders.