[RESOLVED] won't compile exe file
For some reason when I go to compile, I get asked to make techni.BAS not Techni.EXE. How can that happen? Compiling the EXE is not an option. I tried closing down and reopening the source files. No change. I can run the program from within the IDE without any errors.
Re: won't compile exe file
Does it happen with a brand new project?
Re: won't compile exe file
I haven't tried a new project. However, I did load up a different project and it compiles to EXE, not BAS. In fact, this project has been compiled to EXE many times this morning. It just suddenly went 'poof'.
Re: won't compile exe file
How about trying to create a new project from the pieces of the old?
Re: won't compile exe file
This a a very big project. I shudder at the thought. I will try to create a new project first.
Re: won't compile exe file
The new project has the default of EXE in the compile box.
Re: won't compile exe file
1. Ensure project is not loaded in VB
2. Open your .vbp file in NotePad
3. Find the ExeName32 entry? Is the value for that entry .BAS?
If so, simply change it to Exe and your problem should go away. It appears at one point, either your exe was created and named bas vs exe. This could have happened during save and you clicked on a .bas file in the SaveAs dialog and compiled your exe with a bas extension.
Re: won't compile exe file
That appears to have done it. Thanks a ton, LaVolpe.
Re: [RESOLVED] won't compile exe file
Update: The compile would not finish. I wound up going to the backup of my VBP file and it compiled OK then.