Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Property & Method Descriptions
Message
De
07/12/2000 00:40:52
 
 
À
05/12/2000 10:37:02
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00449002
Message ID:
00450245
Vues:
30
>>I have created an automation server that will be used in VB apps. When browsing the object descriptions come up for all of the VFP intrinsic methods and properties, but not for the ones that I've added. Is there a way of adding my own descriptions?
>
>Just a comment, by making all the default PEMs for an object PRIVATE they shouldn't show up in VB, if you want to clean it up a little bit. I hope that wasn't a VFP7 thing too.
>
>Thats why alot of people use the Session class for COMs, less PEMs to hide.
I'm actually doing just that, using the Session 
class and making the unneeded default methods 
PROTECTED.  I made what *has* to be *the* 
rookie move though.  I made the ERROR() method 
PROTECTED.  This, of course, has the effct of 

ON ERROR RETURN .T.

...dupid, dupid, dupid..

Is there a way of hacking the type lib to 
include the information?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform