Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Showing a form from the executable 1

Status
Not open for further replies.

cfriedberg2

Programmer
Aug 13, 2005
34
0
0
US
I have a VFP 6.0 project that has only one form. When I work in development, the form shows up just fine from a prg named main using the following command:

DO FORM reportselection.scx

When I compile the code into an executable, there is no form. What is necessary to show the form so the user may interact with it.
 
Actually what I have is just that

DO FORM reportselection.scx
Read events
 
Do you have SCREEN=OFF in config.fpw? If so, make sure Form.ShowWindow = 2 (as top level form).
 
Oh, and make sure your PRG is set as main in the project manager. If you added the form to the project, it's set as main instead of your prg.
 
The answer was in the config.fpw. I also have made certain that I have a Clear events command. Thanks for the advice.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top