Information générale
Catégorie:
Codage, syntaxe et commandes
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.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement