Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to pass parameters between VFP and COM
Message
De
18/12/2001 19:23:59
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00595402
Message ID:
00595934
Vues:
25
I use Session objects.

>Hi Craig!
>
>You said:
>>Use a parameter object.
>
>It's a good idea! :) Can you sample to me?
>
>How can I create one object with 3 properties?
>
>Maybe I have do do it:
>
>
>Define Class ParObject As ???
>   Field_A = ""
>   Field_B = 0
>   Field_C = {}
>EndDefine
>
>MyParObj = CreateObject("ParObject")
>MyParObj.Field_A = "HOUSE"
>MyParObj.Field_B = 50000
>MyParObj.Field_C = Date()
>
>* And, finally
>
>MyComObject.SaveData(MyParObj)
>
>
>Is it ok?
>
>Thank you!
>
>[]'s
>
>Rodolfo Duarte
>FoxBrasil
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform