Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disable the VFP Screen with an EXE
Message
De
30/10/2011 22:53:20
 
 
À
30/10/2011 19:23:28
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01527625
Message ID:
01527654
Vues:
72
>>>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform