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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VFP 7.0: Form doesn't run from compiled .EXE

Status
Not open for further replies.

Kimed

Programmer
May 25, 2005
104
LT
Hi,

I wrote a small app with a single form that chooses reports to run. When I run it from VFP, it runs okay. Complile it into .app, okay. Compile it to .exe and launch from VFP, okay. But when I try to launch the compiled .exe as a standalone program, the form blinks into existance for a moment and then disappears. Files vfp7r.dll, vfp7renu.dll, msvcr70.dll are present in the folder, and when the app did not have the form and only a report called from a dummy program, it worked perfectly. Just to check, I inserted a couple of debug "WAIT WINDOW" operators into form's Init method, and they all show exactly what they're supposed to, but the form window does not show anyway. What I'm doing wrong?

Thanks.
 
You'll wanna take a look at Mike Gagnon's FAQ regarding this subject. Here's the link:

faq184-4232

boyd.gif

SweetPotato Software Website
My Blog
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top