Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Main Foxpro Window on exe
Message
From
28/05/1999 16:25:22
 
 
To
28/05/1999 15:36:07
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00224100
Message ID:
00224137
Views:
22
>Hello, I have an issue ...
>
>How do you supress the flash that appears when launching a distributed exe. I understand that setting 'application = .f.' in the main prg will hide the main window after launch. In addition, I understand that you can supress the flash when launching the exe by using a config.vfp file (screen = off).
>

SCREEN = OFF in CONFIG.FPW.

>The problem occurs when you distribute an exe and are not around to add the config extension to the icon's short-cut
>
>Example: test.exe -cc:\test\config.vfp
>

Use a post-setup executable and either George Tasker's LNKFILES.DLL or Wscript.Shell's CreateShortcut method to build the shortcut programmatically. You can write the post-setup executable in VFP and burn a CONFIG.FPW with RESOURCE = OFF and SCREEN = OFF into it pretty safely as long as nothing complex is being done.

>The setup will create the reference to test.exe but obviously will not add '-cc:\test\config.vfp' ... Any solutions?
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