>Jimi,
>
>It sounds like you have some code somewhere in the form that looks like:
>
>
myform.SomeProperty
or myform.SomeMethod()
>
>These should all be replaced with:
>
>
thisform.SomeProperty
or thisform.SomeMethod()
>
>It works in the command window because DO FORM XYZ creates a public object named XYZ. This does not happen when run from code inside a prg.
>
>>In my program there is a line "DO FORM MyForm", where MyForm is created in form designer. This line works fine when I run the program in VFP, but says "unknown member MyForm" when I run the compiled exe. I'm sure the form is set included when compile, I also checked to "compile all" in the build option window. This had never happen to any of my other programs, any idea please?
>>
>>(2)
>>The same program, when I compile it, it says "1 error" at the bottom status display, but it didn't tell me what is it and no window is poped to follow this error, how can I enforce VFP to show me ALL errors in detail?
in the "build options" dialog box where you elected to 'compile all files'
did you also check the option right below it to "display errors" ?
when you run the exe are you running and/or starting in the directory
where the exe is stored ?
patrick