Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling an exe with parameters
Message
 
 
À
14/01/2002 11:23:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00604354
Message ID:
00604706
Vues:
26
Shevy,

You can not pass parameters into a Form/Formset that is marked as the main in a project. This is because behind the scenes in this case VFP is creating an implicit main.prg for you.

You will have to create a main.prg and use it to simply pass the parameters to the form. The form.Init() method will recieve the passed parameters.
* main.prg
lparameters ...
do form ... with ...
>Thanks. but the main program of the exe is a form. so the parameter list is in the formset init - is that the proper place? then why am i getting the error?
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