>Hi,
>
>Have you done this yourself? I try what you said but it does not work.
Absolutely. The one restriction, as David Frankenback pointed out, is that you must use a program as the main project file for the application. You can't use a form to do this. If you currently have a form as the main project program, add the following as the main program for your project:
LPARAMETER uParm1, uParm2, uParm3, uParm4 && more if you want them
DO FORM
main form for the project WITH uParm1, uParm2, uParm3, uParm4
QUIT
Yes, I have tried this, and use it routinely. There are some command line switches used by the VFP runtime engine that may be stripped - I generally avoid using / or - as the lead character so that I don't have to worry about it.