Register a VB6 dll in COM+ from within VB

Posted on 2006-05-03
Last Modified: 2011-10-03

We have a COM+ Application with a few dll's (vb6) registered in it. When we have a new build of one of the dll's, we have to manually remove the old version and replace it by the new version in Component Services on our servers.
What I want to know is : Is it possible to do this from within a VB6 (or .net) executable and if so, how???


Question by:sky71276
    1 Comment
    LVL 22

    Accepted Solution

    To do this without Shell and RegSvr32.exe try code at following link.
    It will do everything from within your Vb application.


    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
    If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
    Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
    Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now