Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
From VFP, what exactly is a Collection from a COM object
Message
De
28/02/2000 22:58:13
 
 
À
28/02/2000 22:54:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00338642
Message ID:
00338888
Vues:
14
>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
Fil
Voir

Click here to load this message in the networking platform