Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to pass parameters between VFP and COM
Message
From
18/12/2001 19:23:59
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00595402
Message ID:
00595934
Views:
24
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform