General information
Category:
Object Oriented Programming
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only