Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parameter Passing to the Project
Message
 
 
À
20/12/2004 12:33:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
00970706
Message ID:
00970731
Vues:
19
The main Form in EXE cannot accept parameters in the Init. You've to create main program that accepts parameters and pass them to a form.

>Ok - I tried that, I put
>Parameter cP4_Contact as the first line of my INIT. I then store it to a property of the form. But after the INIT runs, I get the error "No PARAMETER statement found".
>
>I do _not_ have a Main.prg, I just opened a new project and added this form.
>
>Thanks
>bill
>
>>That's correct, use the INIT of your form, if you are using a main.prg do it there.
>>
>>>I have a very simple project. It has 1 form which lets the user select printing of Crystal reports, or converting them to PDF.
>>
>>>As this project has just this one form, can I receive a parameter within the Init of the Form? Or how would I handle this?
>>
>>>I want to pass the Project.exe file a parameter.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform