>
>I placed a WAIT WINDOW instruction with a Timeout of 10 and when I run the exe from outside VFP7, the message shows ok. So the program is running. But I do not see the main menu or the active window that should show up when running the program.>
>Can you show us the relevant portions of you main program (the lines around READ EVENTS)? This way we may get to understand what is happenning. Use < PRE > and < /PRE > (without the spaces) to format your code sample. It should be something like:
>
>SET EXCLUSIVE OFF
>* other SETs ...
>* ...
>DO MENUY MyMenu
>DO FORM MyForm
>* or whatever it is that starts the "look and feel" of your program.
>READ EVENTS
>* cleanup code goes here
>QUIT
>
>
>You do not specify if you use the VFP desktop or an SDI form as your main interfase.
>The aobe sample program should instance your menu and form then stop at READ EVENTS where it spends all of the time.
>An "EXIT" menu option or button in a form should issue a CLEAR EVENTS and then execution returns to the lines after READ EVENTS. You can also use an ON SHUTDOWN statement. For more info see the manual.
>
>HTH
It looks like when running the exe from outside VFP, it does not use the VFP desktop to put the menu. So, it put the menu somewhere else where I do not have access and that is why the program shows as running in the window tsk manager. How do I use the VFP desktop to work as it does when I run it from within VFP ?
Rosendo J. Roche