Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ACTIVATE WINDOW
Message
De
14/05/2001 18:18:18
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
00506381
Message ID:
00507077
Vues:
12
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform