So I've made a visual basic project in Microsoft Visual Studio and want to know how to convert it to an EXE (executable) file.
Can anyone please help?
I've tried to use the procedure that other people said. Open it in Visual Studio, then build it, then to go to the folder of the project and then into the 'bin' folder and then 'debug' and then I have to go through another only folder and I found it. When I ran it in that folder, it worked, but when I moved the EXE file to a differnt location, it wouldn't work.
I was expecting it to work in another folder.
CodePudding user response:
To convert a Visual Basic project to an executable file (.exe), you will first need to open the project in Visual Studio. Then, click on the Build menu, select Build Solution, and then click on the Publish option. Visual Studio will then compile the project and generate the .exe file which you can then use to run the program.
CodePudding user response:
on the build option. choose the build 'Project Name' then after successful build, click on publish. you need to copy all the files from the folder and paste it on your designated director of send a full copy of those file to the target user of the project. Sample Files to be seen after publishing