Results 1 to 7 of 7

Thread: [RESOLVED] Change VB6 Exe name

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jun 2002
    Posts
    31

    Resolved [RESOLVED] Change VB6 Exe name

    Hi

    I have a VB6 project which I changed the name of, I have also reflected this new name in the project properties. However when I go to the file menu, the Make xxxx.exe still refers to the old exe name, how do I change the exe name ?

    Thanks

  2. #2
    PowerPoster
    Join Date
    Dec 2003
    Posts
    4,787

    Re: Change VB6 Exe name

    it will be the name of your project, but you could just rename it when you choose a location :-/

    If not change the name of your project

  3. #3
    Fanatic Member neicedover1982's Avatar
    Join Date
    Jun 2005
    Posts
    566

    Re: Change VB6 Exe name

    Just click the make XXXXX.exe and when it opens the window to put it somewhere, change the name from XXXXXX.exe to whatever and it will stay thay way from then on. I find it happens once and a while on my renaming of projects.
    Kevin | New England Iced Over | http://www.kevincawleyjr.com

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Change VB6 Exe name

    Once you made the changes, did you save the whole thing under its new name?

  5. #5
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: Change VB6 Exe name

    By default VB will assign the same name for the Exe as the project name. However once you have built an EXE VB will keep that name. The easiest solution is to do what neicedover1982 just suggested, however you can also open the *.vbp file in Notepad and make the change there. In this file you will find a line that looks like this:
    Code:
    ExeName32="TheName.exe"
    Just change that line, save the changes and reopen the project in VB.

  6. #6

    Thread Starter
    Junior Member
    Join Date
    Jun 2002
    Posts
    31

    Re: Change VB6 Exe name

    Thanks Guys, that's done the trick

  7. #7
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Re: Change VB6 Exe name

    Now that we've helped you, you can help us by pulling down the Thread Tools menu and clicking the Mark Thread Resolved button which will let everyone know that you have your answer. Also if someone has been particularly helpful, or even particularly unhelpful, you have the ability to affect a their forum "reputation" by rating their post.

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