Installing 3rd party controls (TreeViewAdv)

M

Magus

I'm new to VS/C# and am trying to install a 3rd party TreeView control
that supports columns. I can compile the source application just fine.
It shows the controls on the left, but when I switch to a new project
they are gone.

I'm sorry for such a noobish question but hopefully this might help
others out.



P.S. Yes, I have searched google but it's possible I'm using the wrong
search terms. Oh, and the URL for the control in question is:
https://sourceforge.net/projects/treeviewadv
 
J

Jeff Johnson

I'm new to VS/C# and am trying to install a 3rd party TreeView control
that supports columns. I can compile the source application just fine.
It shows the controls on the left, but when I switch to a new project
they are gone.

By "on the left" do you mean that you see the control in the toolbox? This
is because the project is either the tree view control itself or a sample
project which references it. However, your "regular" toolbox is unaware of
the control. To fix this, start a new project and right-click the group in
the toolbox where you want this control to appear. Then select Choose
Items..., find your control in the list, and check the box. Now it will
appear in all future projects.
 
M

Magus

By "on the left" do you mean that you see the control in the toolbox? This
is because the project is either the tree view control itself or a sample
project which references it. However, your "regular" toolbox is unaware of
the control. To fix this, start a new project and right-click the group in
the toolbox where you want this control to appear. Then select Choose
Items..., find your control in the list, and check the box. Now it will
appear in all future projects.

I did "Choose Items" but it isn't listed.

Here are the steps I've done:

(3rd party control)
open solution, build, run.
save, close solution.
(new solution)
new solution, choose items, <nothing listed>
clicked browse, chose dll created in obj directory from 3rd party
control.
in toolbox right click, show all. it's listed but grey'd out.
 
M

Magus

By "on the left" do you mean that you see the control in the toolbox? This
is because the project is either the tree view control itself or a sample
project which references it. However, your "regular" toolbox is unaware of
the control. To fix this, start a new project and right-click the group in
the toolbox where you want this control to appear. Then select Choose
Items..., find your control in the list, and check the box. Now it will
appear in all future projects.

I have compiled the TreeViewAdv source, saved and closed solution.
Opened new solution, right clicked toolbox, choose items, no new
controls.
So i then clicked browse, and chose the dll created in obj/debug.
I right clicked the toolbox, show all, and it's listed but grey'd out.

No idea what I'm doing wrong. Am I supposed to place the source in a
specific place?
 
M

Magus

I have compiled the TreeViewAdv source, saved and closed solution.
Opened new solution, right clicked toolbox, choose items, no new
controls.
So i then clicked browse, and chose the dll created in obj/debug.
I right clicked the toolbox, show all, and it's listed but grey'd out.

No idea what I'm doing wrong. Am I supposed to place the source in a
specific place?
 
J

Jeff Johnson

I have compiled the TreeViewAdv source, saved and closed solution.
Opened new solution, right clicked toolbox, choose items, no new
controls.
So i then clicked browse, and chose the dll created in obj/debug.
I right clicked the toolbox, show all, and it's listed but grey'd out.

No idea what I'm doing wrong. Am I supposed to place the source in a
specific place?

Did you really mean obj\Debug? Because you should be using the file in
bin\Debug. Forget about the obj folder.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top