Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
>>>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement