Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ACTIVATE WINDOW
Message
From
14/05/2001 18:18:18
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00506381
Message ID:
00507077
Views:
10
George,

Made a wrapper first thing this morning, works great.
And with following code in a project hook class (in the QueryRunFile method):
LPARAMETERS oFile

if (oFile.name = _vfp.activeproject.mainfile)
	doWrapper( (oFile.name) )
	nodefault
endif
...launches the program properly from inside project manager. I suppose I can have a similar wrapper for forms, that creates the application object and other startup stuff that the 'main' program normally does. Or, < thinking out loud >, have the main program accept a parameter...so it can run a form straight up, instead of launching the main menu (still talking for testing & debugging purposes).

Anywhoo, thanks for the help...
Steve Gibson
Previous
Reply
Map
View

Click here to load this message in the networking platform