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

Program Opens FoxPro Window Momentarily Before Calling EXE 1

Status
Not open for further replies.

drosenkranz

Programmer
Sep 13, 2000
360
US
I have a program with the sole purpose of checking the server's version of an EXE against the local user's copy of the EXE. If the server's version is newer- it copies the server's version onto the user's local hard drive. This program then launches the EXE from the user's local copy. (Thanks for the ideas FoxDev)

The problem is that this program opens the FoxPro window for just an instant before it launches the main EXE. I have set the (screen=off) already in the config.fpw file and this works fine if I launch the main EXE directly. It only happens when I use this program to check for an update before launching the main EXE.

This program (check4update) has been compiled into an EXE. How do I get the check4update.EXE to suppress the FoxPro window so the user doesn't see it before the main EXE is launched? The early bird may get the occasional worm...
but the 2nd mouse always gets the cheese.
 
Attach a copy of the Config.fpw to you Check4Update project as well. Rebuild Check4Update.exe. Jon Hawkins
jonscott8@yahoo.com

The World Is Headed For Mutiny,
When All We Want Is Unity. - Creed
 
How do you "attach" a copy to the project... I thought it just had to bi in the same directory. Any Info appreciated.
The 2nd mouse gets the cheese.
 
Refer to Chapter 25: Building an Application for Distribution in the VFP Programmers Guide. Specifically the 'Including a Configuration File' section. Jon Hawkins
jonscott8@yahoo.com

The World Is Headed For Mutiny,
When All We Want Is Unity. - Creed
 
Hi
Did you try
Code:
APPLICATION.VISIBLE=.F.
as a first line in your .EXE?
Thanks
Walid
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top