Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error instantiating
Message
 
À
03/08/2000 21:19:40
Ernie Veniegas
Micro System Solutions, Inc.
Calistoga, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00400825
Message ID:
00400847
Vues:
14
The problem you're running into is that once you call something outside of your EXE, that program, form, or whatever, can't call a form or class that's in the EXE. But there's good news--you can call a PRG or procedure that's in the EXE! So, to get around this, you need to create a generic procedure with a parameter that has the command to want to run (like "DO FORM MyForm WITH param1, param2"). Then you just need to macro expand the parameter:
FUNCTION RunCommand
LPARAMETER tcCommandLine

&tcCommandLine

RETURN
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform