Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with menu
Message
From
16/04/2001 11:31:38
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Problem with menu
Miscellaneous
Thread ID:
00495795
Message ID:
00495795
Views:
36
Hi,

This never happened before today.

When I start my application from VFP (using the run command on my 'main' prg file), everything loads fine. My menu and my startup forms appear and there are no errors showing anywhere. But then, the first time I try to use my menu, by selecting one of it's options, an "open" window (like command 'GETFILE') appears and it seems to be looking for my menu file (*.mpx).

If I choose it correctly and hit the OK button, everything runs fine from that point on. If I hit the CANCEL button, an error is issued stating that "File does not exist". But the wierd thing is that when I print the error text, it's associated method and line; there aren't any! The cMethod and nLine parameters are empty.

Even wierder is the fact that when I compile my project into an application or an .exe, everythings works fine.

What am I doing wrong?

Stephane.


P.S. I'm using an OO approach so, if this is relevant, all configuration code is done in the "BEFOREREADEVENTS" method of my 'application' class.
Next
Reply
Map
View

Click here to load this message in the networking platform