John Cosmas
2005-06-15 08:38:09 UTC
I created an APP and set my main to MAIN.PRG. In my MAIN.PRG, I have
command DO FORM frmswitchboard. So, when I've compiled my application into
an EXE, it comes up and just goes away. Is there something I have to do to
keep it up. I've enclosed my the part of the MAIN.PRG that calls my form
** MAIN PROGRAM **
** SET STATUS ON
SET TALK ON
SET DELETE ON
SET MULTILOCK ON
SET EXACT OFF
SET CONFIRM OFF
RELEASE WINDOW msgwind
** Set the DEFAULT director **
SET DEFAULT TO C:\Progra~1\GIMEdi~1\
USE
CLEAR
** Opens the local SETUP table **
USE setup SHARED ORDER CODE AGAIN
gstrAppDir = "C:\Progra~1\GIMEdi~1\"
gstrHomeDir = UPPER(TRIM(Dir_home))
** Starts the SWITCHBOARD
DO FORM frmswitchboard
command DO FORM frmswitchboard. So, when I've compiled my application into
an EXE, it comes up and just goes away. Is there something I have to do to
keep it up. I've enclosed my the part of the MAIN.PRG that calls my form
** MAIN PROGRAM **
** SET STATUS ON
SET TALK ON
SET DELETE ON
SET MULTILOCK ON
SET EXACT OFF
SET CONFIRM OFF
RELEASE WINDOW msgwind
** Set the DEFAULT director **
SET DEFAULT TO C:\Progra~1\GIMEdi~1\
USE
CLEAR
** Opens the local SETUP table **
USE setup SHARED ORDER CODE AGAIN
gstrAppDir = "C:\Progra~1\GIMEdi~1\"
gstrHomeDir = UPPER(TRIM(Dir_home))
** Starts the SWITCHBOARD
DO FORM frmswitchboard