Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP runtime caption
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00233683
Message ID:
00234051
Views:
23
>Hello Ed.
>
>I don't use the CONFIG.FPW normally. But I wanted to try this suggestion as we might soon want to send a program out that doesn't show anything about VFP.
>
>I didn't have a CONFIG.FPW (sys(2019) returned an empty string). I created a CONFIG.FPW file with notepad and added the single line SCREEN = OFF.
>
>I re-loaded VFP and sys(2019) return my path the the newly created CONFIG.FPW.
>
>Unfortunately, I didn't notice any different behaviour.

If you start VFP development itself with SCREEN = OFF, the command window is going to force the VFP main window to show, otherwise, you could never see the VFP command window to fix the problem...take an existing executable that doesn't have a CONFIG.FPW, and put this CONFIG.FPW in place. It should make your application completely non-visible. If you need to change the icon, change _screen.icon to whatever you want instead. If you want to suppress the VFP splash screen in development itself, add -t to your command line.

This is all documented in the on-line help, BTW.

>
>Do you know what the problem could be?
>
>Thanks,
>Joe
>
>
>>>Is any way to disable the VFP Runtime caption when the compiled application started? (Caption VisualFoxPro) or change it to my custom caption?
>>
>>Include a CONFIG.FPW in your project with the line SCREEN = OFF in it, and then set _Screen.caption to whatever you like before making the _screen visible (_screen.visible = .t., _screen.show(), etc.) - you can also use a top-level form and never make the VFP main screen visible at all.
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
Next
Reply
Map
View

Click here to load this message in the networking platform