Solved

adding control to toolbox

Posted on 2009-05-18
5
473 Views
Last Modified: 2013-12-20
Dear experts,

I am trying to use treeview 3.5 instead of treeview 2.0.  I have already tried to "choose item" in the contextmenu and then checking its checkbox. I've found the control at the bottom of the toolbox if I choose "show all" but it's grayed out. The treeview 2.0 is still black and useable. The project is compiled for framework 3.5.

Uhm... these are the two things I've found on the internet about the subject. The control should work now, so it's odd. I've also tried unchecking treeview 2.0, so only treeview 3.5 is checked.

Another odd thing is that I also found a treeview 3.5 under the WPF tab. This one doesn't work either, I tried that one aswell.

I am using Visual Studio 2008 with framework 3.5 on a Win XP pro SP3 by the way.

So, the question is. Does any of you experts have an idea as to why I can't get the control added to my toolbox?
0
Comment
Question by:Labelsoft
  • 2
  • 2
5 Comments
 
LVL 7

Expert Comment

by:thiyaguk
ID: 24409779
0
 
LVL 74

Expert Comment

by:käµfm³d 👽
ID: 24410006
The TreeView 3.5 is for the Compact Framework. Is there a specific reason you need it?
0
 
LVL 3

Author Comment

by:Labelsoft
ID: 24410657
Really? That's odd, it doesn't say so in this article: http://msdn.microsoft.com/en-us/library/system.windows.controls.treeview.aspx

I need it because I want to use it's abilities to bind to a datasource.

How did you get this information?
0
 
LVL 74

Accepted Solution

by:
käµfm³d   👽 earned 500 total points
ID: 24416351
I was going by the files location as demonstrated by the Directory attribute in the Choose Toolbox Items window:
Untitled.jpg
0
 
LVL 3

Author Comment

by:Labelsoft
ID: 24419130
Oh, right. Duh on me.

Your answer is accepted as the solution.

Strange that the normal framework does not contain a treeview which supports object binding. Oh well, I' ll either make my own, or work around it.

Thnx!
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
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…

762 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

20 Experts available now in Live!

Get 1:1 Help Now