What would be the .exe file for a Visual Basic program?
Would it be the file ending in extension .sln? Please help.
Observing members:
0
Composing members:
0
10 Answers
The exe in the bin folder within the (startup) project.
Would it be in the debug folder that is a subfolder of the bin folder? Or does you have to use the “build” function so that it places it in the release folder? Thanks for a quick response. our professor is asking for this file when we submit our first project, but the book does not explain how to do this, nor did he.
It depends on which mode you are in when you compile. If you have compiled both, there will be exes in both folders.
Okay, but it doesn’t matter which of the two I submit, correct? They are the same file? Thank you for helping me out with this…
The released version is preferable, because it executes more quickly, but in most cases there is not much noticeable difference.
Okay…thanks, @LostInParadise. If there is currently no version in my release folder, then is there something I can do to put one there?
Sorry, @yankeetooter – I don’t mean to be the “read the manual” guy, but this is really core stuff you should be learning about your IDE. Research the differences between debug and release configurations in Visual Studio. @LostInParadise already hinted that the released version is preferable, but not required – especially with a beginner app that doesn’t require optimizations. Hint: You will notice the word “debug” in a dropdown in the toolbar in Visual Studio.
No worries, @tom_g. I am taking a class, and the textbook doesn’t talk about any of the above, nor did the professor. (It’s an online class, so that doesn’t help either.) I did message the professor, but he hasn’t responded yet, so I appreciate your help. I will go with the debug version…
Visual Studio is not too bad, but it takes some getting used to. In general, Microsoft’s documentation is not very good. For all but the most basic things, I usually do online searches to get answers.
One thing that you should know, is how to change the name of the exe file. If you go to the View menu and choose Project Properties on the bottom, in the General section that it opens to by default, there is a section for Assembly name, which will be the name of the exe file generated when you do a build.
Oh, okay. I will try that. Thanks again…
Answer this question
This question is in the General Section. Responses must be helpful and on-topic.