Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot run the Form...
Message
 
 
To
09/07/2001 03:31:59
Jimi Lee
Pop Electronic Products Ltd.
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00528012
Message ID:
00528479
Views:
19
This message has been marked as the solution to the initial question of the thread.
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?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform