Solved

adding control to toolbox

Posted on 2009-05-18
5
486 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 75

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 75

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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VB.Net WebRequest Code from JSON curl 7 54
Powershell File Sort 8 41
C# Service FileSystemwatcher isse 9 29
Need to sort columns in DataGridView 4 11
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

820 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