Results 1 to 9 of 9

Thread: [RESOLVED] won't compile exe file

  1. #1

    Thread Starter
    PowerPoster Pasvorto's Avatar
    Join Date
    Oct 2002
    Location
    Minnesota, USA
    Posts
    2,951

    Resolved [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.
    ===================================================
    If your question has been answered, mark the thread as [RESOLVED]

  2. #2

  3. #3

    Thread Starter
    PowerPoster Pasvorto's Avatar
    Join Date
    Oct 2002
    Location
    Minnesota, USA
    Posts
    2,951

    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'.
    ===================================================
    If your question has been answered, mark the thread as [RESOLVED]

  4. #4

  5. #5

    Thread Starter
    PowerPoster Pasvorto's Avatar
    Join Date
    Oct 2002
    Location
    Minnesota, USA
    Posts
    2,951

    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.
    ===================================================
    If your question has been answered, mark the thread as [RESOLVED]

  6. #6

    Thread Starter
    PowerPoster Pasvorto's Avatar
    Join Date
    Oct 2002
    Location
    Minnesota, USA
    Posts
    2,951

    Re: won't compile exe file

    The new project has the default of EXE in the compile box.
    ===================================================
    If your question has been answered, mark the thread as [RESOLVED]

  7. #7
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    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.
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  8. #8

    Thread Starter
    PowerPoster Pasvorto's Avatar
    Join Date
    Oct 2002
    Location
    Minnesota, USA
    Posts
    2,951

    Re: won't compile exe file

    That appears to have done it. Thanks a ton, LaVolpe.
    ===================================================
    If your question has been answered, mark the thread as [RESOLVED]

  9. #9

    Thread Starter
    PowerPoster Pasvorto's Avatar
    Join Date
    Oct 2002
    Location
    Minnesota, USA
    Posts
    2,951

    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.
    ===================================================
    If your question has been answered, mark the thread as [RESOLVED]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width