Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating an exe
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00145790
Message ID:
00145935
Views:
24
Jane,

If the form is going to receive command line parameters, you have to use a small .prg marked as Main in the project manager, that accepts the parameters and sends them onto the form. It's not so bad having a main .prg anyway even if it only does:

* MyApp.prg
do form MyApp
read events

This way you form doesn't have to be modal during development/testing and a form method can not put itself into a READ EVENTS state.

>Thanks for the reply but .. it doesn't work. I get the message "can't build without a main program." Do I need to create a main.prg that has a call to the screen? I'll try that.
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