Author |
Topic  |
|
billstheman142
4 Posts |
Posted - 25 Jun 2008 : 16:58:02
|
Hey, I am trying to add the chart view control to the toolbox in Visual Studio 2008 by right clicking on the toolbox and selecting Choose Items... browsing to the .dll and selecting it and then pressing ok. When I do this the control does not appear in the toolbox. If I do the same thing in VS2005 it works fine. This same problem occurs for every control I try to add from your libraries. Do you know what I can do to make this work?
-- Bill |
|
quinncurtis
1164 Posts |
Posted - 25 Jun 2008 : 17:19:38
|
Are you asking about QCChart2D for .Net, or QCChart2D CF for .Net Compact Framework ?
Even though that is not the way we describe how to use the software in the tutorials (the last chapters in the manual), we never less added the QCChart2DNet.DLL to the toolbox without a problem. |
 |
|
billstheman142
4 Posts |
Posted - 25 Jun 2008 : 17:21:13
|
For the .Net Compact Framework
-- Bill |
 |
|
billstheman142
4 Posts |
Posted - 25 Jun 2008 : 18:58:57
|
Also, it does describe to do it this way in the manual "QCRTGraphNetCFManual.pdf" page 298
-- Bill |
 |
|
quinncurtis
1164 Posts |
Posted - 26 Jun 2008 : 16:54:44
|
The problem seems associated with with version of .Net CF you select when you use the project wizard to create the a Smart Device project. In the initial screen, you have the options of selecting .Net Framework 2.0, 3.0 or 3.5. Select 2.0 (the default seems to be 3.5). In the next screen you will have the options of choosing .Net Compact Framework 2.0 or 3.0. Choose 2.0.
From that point on you should be able to add the ChartView component to the Toolbox as described in the manual.
Give it a try and let us know the results. |
 |
|
billstheman142
4 Posts |
Posted - 27 Jun 2008 : 15:13:56
|
Yes it does work when I try to go with the compact framework 2.0. I want to program the rest of the app in 3.5, however. Shouldn't a 2.0 .Net CF dll work in 3.5?
-- Bill |
 |
|
quinncurtis
1164 Posts |
Posted - 27 Jun 2008 : 15:58:33
|
Sorry, we don't claim support for .Net CF 3.5, so it's not something we have investigated. Obviously, the .Net CF 3.5 Toolbox has different requirements for what it lists. From what we have read it will not display any control that uses operating system calls invoked through PInvoke, which we do use to add special features to our .Net CF charts (XOR drawing mode in particular) that are not supported by regular .Net CF. We don't have a clue why this limitation exists.
You can still instantiate, and position the ChartView object in your program, without it being in the Toolbox. See the example program UserChartExample2. In fact, until a few months ago, most all of our example programs used this technique. Having a control object as complex as the ChartView control in the Toolbox saves you about 0.00000001% of the time you will spend programming the control object.
|
 |
|
|
Topic  |
|