Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
From VFP, what exactly is a Collection from a COM object
Message
From
28/02/2000 22:58:13
 
 
To
28/02/2000 22:54:25
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00338642
Message ID:
00338888
Views:
13
>You have to remember that VB has default properties and methods where VFP doesn, so if you are using a VB com object in VFP you have to sepcify the default properties and methods. I think you can get these if you look in the object browser. But, I think the above in VB if you had the same thing in VFP you would have to use...
>
>cVal = oObj.Form.Item('txtBox').Value

Hi Bob, this really wasn't the issue (I am not having problem referencing the ASP objects in production) as with simulating the collections for white box testing. (ASP creates the objects, we just pass references to them, but I wanted to call my classes from a VFP program so I could step through the code).

Erik's suggestion to use the Assign method worked great. I got my tests working earlier this evening.

Thanks for the feedback though,

Best,
Bill
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform