Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

adding control to toolbox

Posted on 2009-05-18
5
Medium Priority
?
489 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
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 1500 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
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…
Suggested Courses

722 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