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 Chriss Miller 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 EXE Run-Time Behavior

Status
Not open for further replies.

dhzamist

Programmer
Feb 9, 2003
2
US
I created an EXE and built a setup using Installshild. I included vfp7r.dll and vfp7renu.dll. The problem I'm having is on the installed PC the FoxPro Window comes up behing my app. How do I suppress that window?

Thanks
 
Hello,

Place a CONFIG.FPW file in the same directory as the Exe, and write SCREEN=OFF in that file.

The next step depends on how you built your app. If the app consist in one central form, make sure it's set ShowWindow=2.

Hope this helps Grigore Dolghin
Class Software
Bucharest, Romania
 
As Grigore suggests, you'll want to use a Top-level form. However unless this is a one form application, you'll probably need to make changes to other forms - they must all be Top-level or In Top-level. It's important to be aware that Top-level forms by definition can't be Modal, so if you have this requirement, you'll need to make some more changes. Last, if you do any print previewing, you'll have to alter this code, because the default assumes the VFP 'screen' is visible.

Rick

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top