Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Exe file created for a single form is not running !!!
Message
De
07/01/2000 15:41:33
 
 
À
07/01/2000 13:39:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00314642
Message ID:
00314716
Vues:
25
>Hi everyone,
>
>I have a form that is running correctly in Visual FoxPro environment but when I built an exe for it, this exe file does not run any more by itself. What should I do?
>

Build a simple, minimal MAIN program that starts things up; if the form is not modal, put a READ EVENTS in it. If your form is not modal, add a CLEAR EVENTS to the Release method of the form as well.

*MAIN.PRG
ON SHUTDOWN DO SHUTDOWN
DO FORM MyForm
* if form is modal, you can omit the next line
READ EVENTS
DO SHUTDOWN

PROCEDURE SHUTDOWN
ON SHUTDOWN QUIT
CLOSE ALL
CLEAR ALL
QUIT
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform