Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Main Form Startup EXE Parameters?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00668891
Message ID:
00668901
Views:
18
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
Previous
Reply
Map
View

Click here to load this message in the networking platform