| Author |
NEW to VFP 6.0 using FORMS
|
|
| John Cosmas 2005-06-15, 3:25 am |
| 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
| |
| Turan Fettahoglu 2005-06-15, 7:25 am |
| > when I've compiled my application into an EXE, it comes up and just goes
> away.
> ...
> ** Starts the SWITCHBOARD
> DO FORM frmswitchboard
Add READ EVENTS as last line. This should do the trick. Any FoxPro newbie
has tripped over this line!
HTH
Turan
| |
| John Cosmas 2005-06-15, 9:25 am |
| Thanks. It's been 6 years since I had to write this code. I'm using .NET
now, and it's a lot more forgiving.
"Turan Fettahoglu" <turan.fe@web.de> wrote in message
news:e6Hq%237YcFHA.3808@TK2MSFTNGP14.phx.gbl...
>
>
> Add READ EVENTS as last line. This should do the trick. Any FoxPro newbie
> has tripped over this line!
>
> HTH
> Turan
|
|
|
|