Information générale
Catégorie:
Programmation Orientée Object
>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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement