If I understand you correctly, you have a project with no main program. In order for the app to run, you need a main program which then calls your form. After adding a main program to the project, you must also tell the project manager that it is the app's main program (right click on the file after adding it to the project manager and choose set main). In the main program also go your environment settings for your app, etc.
Here is a VERY small example of a main program that calls a form:
DO FORM MyForm
READ EVENTS
QUIT
>I have a project used for scanning documents automatically from VFP.
>
>I am using the wang kodak ocx components from imaging professional program.
>
>imgedit.ocx
>imgscan.ocx
>imgadmin.ocx
>imgthumb.ocx
>
>
>In my form i have added the above controls and able to run from the vfp development.
>
>But when i am trying to create an exe using the build application button.
>
>I am getting a message saying "Cannot build without a main program".
>
>Can some body please give me an advice how to handle this.
>
>Thank you.
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"