How to install a component in VS2010

Posted on 2011-05-10
Last Modified: 2013-12-16

How can i install a component in VS2010. I have a file called XmlTreeview
and I think you have to install it. Who is willing to help me?

Question by:peterkiers
    LVL 14

    Assisted Solution

    It depends with the component itself. if you got an executable/msi, just run it. If you got a DLL, then you have two options 1. Install in the GAC or 2. Drop it in your solution and reference it (right click solution> Add reference> select the DLL).
    LVL 1

    Author Comment

    It's just these files:


    LVL 11

    Accepted Solution

    Since it is a component (so I understand that it is a user control), then it depends if it's for WPF or WinForms.

    Open the right project type (WPF or Winforms), expand one of the Toolbox tabs (for example General), right click on it and choose:
    "Choose Items"

    Browse for the DLL and add it.

    You should now see the new component in your toolbox under general.
    LVL 1

    Author Comment

    Oke, thanks.

    LVL 11

    Expert Comment

    Ahh, I see in your comment that you don't have a dll, but 2 files.
    If my solution didn't help you then tell me.

    Basically in this case I would create a project that will compile into a DLL (Class Library)  and have those 2 classes in it. After it compiles, you should get a DLL that has the component ready for the tool box.

    LVL 1

    Author Comment

    Aaahhhhh, saragani that was the solution I was looking for.

    Thanks again,


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Training Course: Java/J2EE and SOA

    This course will cover both core and advanced Java concepts like Database connectivity, Threads, Exception Handling, Collections, JSP, Servlets, XMLHandling, and more. You'll also learn various Java frameworks like Hibernate and Spring.

    Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (…
    This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

    759 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

    11 Experts available now in Live!

    Get 1:1 Help Now