Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COM properties in .NET
Message
De
17/10/2008 08:00:46
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Controls activeX
Titre:
COM properties in .NET
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP SP1
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01355559
Message ID:
01355559
Vues:
59
Hi,

I'm consuming a third party COM dll in .NET. When viewed in the .NET object browser all of it's public R/W properties show up as accessible only via get and set methods (other properties that are R/O *do* appear as properties) I queried this with them and was told this was standard behaviour.

I have some VB6 DLL of my own here so decided to test their assumption. When I add a reference to my own DLL's all of their numerous public properties are exposed normally. Or I should say all except one. Several of the VB controls have a property of the same name and type - and this property is exposed via get_PropertyName() and set_PropertyName() in all of them.

Now obviously the third party developers are incorrect in claiming their DLL is exposed in a normal fashion. But as my DLL indicates there is *something* that causes this behaviour. Anyone know what it is?

Best,
Viv
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform