Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Starting .EXE without Main VFP Window
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00720738
Message ID:
00720753
Views:
12
>In the Start-Up (Main) program of your project, add the following line of code at the very beginning:
> _SCREEN.Visible = .F.
>
>Then, create a Config.fpw file, and add the following line:
> SCREEN = OFF
>

If the CONFIG.FPW contains SCREEN=OFF, setting _SCREEN.Visible is unnecessary.

There are other consequences to running without the main screen context - notably, things tht are anchored to the main VFP window, like the default print preview window, may not appear at all, and menus will need to be handled slightly differently.

>Note:
>Set the ShowWindow property of the Forms to 2- As Top Level Form.

>
>
>>Can someone tell me how to start .EXE version without displaying in background Main VFP (White) window?
>>
>>Is that possible at all?
>>
>>I have form that start when I start .EXE version and I want it to start on WINDOWS desktop without showing in the background VFP window (FORM stand-alone).
>>
>>Thanks ahead for answers!
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform