Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing Parameters to VB function
Message
De
16/11/1999 13:26:17
 
 
À
16/11/1999 13:11:48
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00291539
Message ID:
00291541
Vues:
20
>Is there a way to pass parameters to a VB executable/ VBA macro/ function/ subroutine from within VFP? At this point I'm not picky. What I have tried is the following:
>
>vapobj=createobject("msproject.application")
>vapobj.visible=.t.
>vapobj.fileopen("fileloc/filename")
>vapobj.macro("macroname")
>
>Which works to run a macro that exists in the file I have opened. However, what I need to do is pass it variables to have it do stuff with. I seem to have hit the bottom of the object tree, but I'm not really sure since I'm having real trouble finding documentation. I'm open to any suggestions, solutions, whatever.
>
>TIA!!
>
>Laurisa Watkins
>Seattle City Light

Once you have the object reference, you should be able to everything you need from within VFP. What are you trying to do?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform