>>
>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
>
>I install VFP7 in my laptop and copy the project. I generate the EXE again and still have the same problem. So, it was not a matter of the two monitors,
It sounds very much like there is a SCREEN=OFF in the CONFIG.FPW, trying to hide the main VFP window, and the Forms in your app are not Top-Level forms, so that they run in the context of the VFP main screen. If this is the case, try removing the SCREEN=OFF statement from your CONFIG.FPW, or add the line
_SCREEN.Visible = .T.
to the main line program just before you invoke your menu and Forms. If this fixes the problem but brings up the main VFP scree, you are left with a couple of choices; you can leave the VFP main screen up, or you can convert at least the main screen to a Top-Level form, and all child forms to operate within the context of the current Top-Level form. There are issues of modality and menu referencing associated with changing to Top-Level form operation.