Tech Off Thread

3 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

Adding a COM+ component to My VB.NET project

Back to Forum: Tech Off
  • User profile image
    codeDebate

    How can I add a COM+ component to My VB.NET project?
    I'm using VS 2003.

  • User profile image
    cpod

    Don’t you just right-click on the project within Solution Explorer, select add reference and then use the COM tab?
    I think I remember that is how its done? I'm not in front of my development machine so can't check.

  • User profile image
    Yggdrasil

    skkipper wrote:
    How can I add a COM+ component to My VB.NET project?
    I'm using VS 2003.


    If you mean adding a reference to a COM+ component, you simply add a reference to it - whether it's a COM or managed component, and the COM+ hosting should be transparent.

    If you mean how to create a COM+ component in VB.NET - you simply Inherit from System.EnterpriseServices.ServicedComponent and you're set to go. Do read up on it, though - make sure you understand issues like AutoCompleted transactions and component activation can save you a lot of time and performance.

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.