Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disable the VFP Screen with an EXE
Message
From
30/10/2011 22:53:20
 
 
To
30/10/2011 19:23:28
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01527625
Message ID:
01527654
Views:
73
>>>>Hi All:
>>>>
>>>>Once I create an EXE from a project, how do I stop the VFP screen appearing when the user invokes the EXE?
>>>>
>>>>Thanks,
>>>>
>>>>Yossi
>>>
>>>Put
>>>SCREEN = OFF
>>>
>>>in the config.fpw
>>
>>When I do that, there is NOTHING visible and I have to kill the exe from the task manager.
>
>All your forms probably have .ShowWindow=0 (in screen), and since screen is made invisible, so are they. You need to have either a main form which will have .ShowWindow=2 (as top level form) and others to show either as top level forms or in top level form. Also, having .desktop=.t. may be needed for the top form (not sure whether you have to have it for it to show at all, or just to have it show in task manager and on the windows toolbar).

Thanks - it worked
Previous
Reply
Map
View

Click here to load this message in the networking platform