Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why Can not run when become an executable?

Status
Not open for further replies.

FoxJunior

MIS
May 27, 2002
12
ID
Hi All, can you help me?

I've run my application from my VFP Environment with syntax (DO myApp in command window). And my application run very well. After running it, i close my application and back to command window. And then, i opened my project then i built to Executable file (extended) and i compiled. No Error found after compiling. But when i try myApp.exe in windows Environment, the application return message that "VAR_A NOT FOUND", and application closed automatically.
I don't know why it can be happened? why when i try in VFP it can run very well but when it be an executable file, it can not run?

Are you know why it can be happened? For you information, i used MS Visual FoxPro (VFP) 6.0.

Thank's for your help...
 
HI
Which is your first running item. Is it the same form you are running in VFP6 command window?

You may be running a main.prg which looks for a variable called VAR_A even before it is initialised. This could be your problem.

:) ramani :)
(Subramanian.G),FoxAcc, ramani_g@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top