Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access References collection at runtime
Message
De
13/05/2000 08:52:09
 
 
À
12/05/2000 15:03:04
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00369199
Message ID:
00369322
Vues:
18
>How do I access the references collection at runtime?
>
>I have a couple of remote components on my references which I want to update to clients whenever I have a new version installed on the server. In order to remove the old components, I have to know the CLSID they are running under to find the uninstall string on the registry.
>
>Any ideas will be well received and appreciated.

You can't put a reference at runtime.

Your options are:
1- Do late binding instead of early binding if your CLSID change
2- Don't change your component interface and make sure your VB project is set to binary compatibility. When you recompile, VB will keep the same CLSID.
Guy Barrette, MCSD
============
Blog http://weblogs.asp.net/guybarrette
Microsoft Regional Director, Montreal, Canada www.microsoft.com/rd
MVP, ASP.NET http://mvp.support.microsoft.com/
President, Montreal Visual Studio User Group www.guvsm.net
INETA Regional Rep for Quebec www.ineta.org
UniversalThread Magazine Columnist (.NET Books Review Column) www.utmag.com
Tech Chair French Track, DevTeach 2004 & 2005 www.devteach.com
Business Architect, Microsoft Team - Nurun Inc www.nurun.com
XBox Live Gamer Tag: Slomo QC CA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform