How can I rename the VB6 executable?

I am trying to automate the assembly of VB6, where various applications are created from the same source:

  • Change "Conditional Compilation Arguments".
  • "Make project" for another executable name.

I can do part of this on the command line:
VB6.EXE /m Project.VBP /d BUILD_OTHER_APP=1
but the executable still has the name "Project.exe". If I rename .EXE, it stops working (doesn't seem to work). VB6 does not seem to have a command line option to set the name of the executable, and I cannot get around this problem when renaming.

I am using VB6 on a 32-bit version of Win7.

+3
source share
2 answers

VB6 /? , , , , , .

, , Win XP.

.

edit: Win XP, :

  • . , XP Win7?
  • .exe . .vbp:
    • VB6 /m Project1 /d conHello=-1 Hello.exe
    • VB6 /m Project1 /d conHello=0 World.exe
+3

( ), VBP (Project_tmp.vbp), .

+2

Source: https://habr.com/ru/post/1737086/


All Articles