Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Main Form Startup EXE Parameters?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00668891
Message ID:
00668901
Vues:
17
Steve,

You can't have a form as the Main. This is because VFP is basically creating one behind the scenes and all it does is call the form. You will have to leave your main.prg as the main.

>I have an app where the "main" of the .exe is a form. In the form's Load method, I have
>
>Parameters cParm1, cParm2, cParm3
>
>The exe compiles fine, but when I run it from the command line with parameters passed, I get the error "No parameter statement is found".
>
>This worked fine with a .prg as the main, where am I supposed to trap the parms in a form like this?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform