473,749 Members | 2,580 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

addding MSChart to a form

When I try adding a MSChart control from the toolbox I get an error message
telling me it can't find AxInterop.OWC10 .dll. I was given the advice below
but i'm not sure where to add the class definition so I'm still getting the
error message

Any Help?
I created a new project (C++ managed, window form). I then did an add
reference, surfed to c:\windows\syst em32\mschart.oc x and added it. It
appears as MSChartLib in the reference list.

Add:
using namespace Interop::MSChar tLib;

and finally

MSChart * chart; // com ChartClass
Nov 17 '05 #1
0 1443

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1936
by: Gerhard Swart | last post by:
Good Morning, I have a licensed .Net product. Meaning I can develop and deploy my projects. I want to use MSChart in my latest project. Now I am not sure about the licensing of MSChart. As far as I know the MSChart ocx gets installed with VB.Net. If I want to deploy my project can I also deploy the MSChart ocx with my project without worrying about licensing for the MSChart ocx.
1
2276
by: arc | last post by:
My web application is using MSChart for reporting. (until i port it to some decent reporting tool) How to make sure all the web clients (IE atleast) have MSChart on their system to view these charts? Windows 2000, XP dont seem to have them by default unless Visual Studio is installed in the system? If i copy and register them as OCX in the system folder even then it seems to be unaware of its presence. Any dependencies to be installed...
1
508
by: Jaime Lucci | last post by:
Has anybody any documentation about MSChart? Thanks.
5
5041
by: Richard | last post by:
I don't know any thing about c#, I really need to do this in visual c++. I don't manually wrap the dll but since it's called AxInterop.OWC10.dll I assume visual studio has done that for me. "Steve Alpert" wrote: > Richard wrote: > > I have Visual C++ .net 2003 and am trying to add a chart to a form. When I > > try and use MSChart or any other of the activeX controls (ie MS Calendar) I > > get an error message saying that it can't...
2
2020
by: John Blair | last post by:
Hi, In my webform HTML i have the following code, but i cannot view and configure this chart control in the code behind class. In the code behind class i have a reference to this com control but when i try and add it as a child control of say a panel control then it gives me a cast error. Is it possible to display and configure a chart in a web form?
2
3390
by: andrew | last post by:
I have an application that requires graphical output. I have added a MSChart to the application and want to be able to print this out. I have a form which allows me to print, and zoom in etc for images loaded into its picture box space and so I thought it would be a matter of copying the graph object to the clipboard and then casting its Metafile format to a bitmap which I could then use to fill the picturebox. Not so, although during...
2
2960
by: Saad Alghamdi | last post by:
I have been using MSchart controller for long time that I'm very familiar with and it would be very hard for me to switch to another graphical controller. However, I have read many comments saying it is possible to install the MSChart controller that comes with VB6 into the VB.Net. I would appreciate it if someone can help me step-by-step to install the controller. Thanks.
1
1208
by: Motaz | last post by:
Hi All i am trying to use MSChart in my C# but i dont know were to start. all i can do is add MSChart onto my Form. Please help as i am new at C#.net put loveing every mintue of it. Thanks in advane.
0
51205
debasisdas
by: debasisdas | last post by:
Here's a simple VB6 code snippet that uses the MSChart control to display Charts in VB6.0. To use this sample, please following steps Create a new project in VB6 Pull down the Project menu and choose Components . Select the checkbox next to Microsoft ChartControl 6.0(OLEDB), Click OK. Add a combobox,one Mschart control and one check box tothe existing form. Paste in the following code tothe code window Private Sub Form_Load() 'Fill the...
0
8833
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9568
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9389
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9256
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8257
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6801
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4709
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4881
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2794
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.