How to put Excel Chart onto VC++ .NET Windows Forms? ERROR!!!

G

Guest

Esteemeed Developers,

Please do allow me thank You in advance for your sincere guidances.

I am facing problems while Putting Excel Chart 10.0 Component onto VC++
..NET Windows Forms.

I am developing an windows application on "Windows Forms (.NET)" by using
Microsoft Visual C++ .NET v2003 Standard SDE on the Windows 2000 Pro Turkish
Edition O.S. that includes Microsft XP Profesiional (Office 2002).

First, I created a project at "Visual C++ .NET v2003" with "Windows Forms
(.NET)" template. Then, from "Tools > Add/Remove Toolbox Items > COM
Components >
Microsoft Office Chart 10.0" , I added the Office Chart.
When my project is at DesignView, I double-clicked on Office Chart 10.0
component to put onto my windows form. Then, SDE started building
automatically and It added below 6 items into "References" of project:

1) AxOWC10
2) MSComctlLib
3) ADODB
4) MSDATASRC
5) stdole
6) OWC10

After Automatical-Building finished, it gave the below error:
---> " error result returned from 'AxImp.exe" .

Operating system and Office XP Pro have the latest updates. I re-installed
Office XP Pro again. But, problem could not be removed.

I faced with same error message, when I install the trial versions of some
Components that are downloaded from internet.

My intention to use the Office Chart for showing some parameters on it
periodically by updating the series..

I am requesting You to guide me solving this problem.

Have a Healthy and Peaceful Days.
 
B

Bonj

Excel can be instantiated via automation, where you can open a template
workbook with a chart in it. The Chart object has an Export method, which
can be used to save the chart off as a gif. That won't give you dynamic
functionality, but it will be seemless and will work on a windows forms or
web forms app.
 
G

Guest

Thank you very much for your kind response Bonj.

Does it mean that, Excel chart cannot be used as an object on the Windows
Forms only without any Excel workbook presentation? As I understood that,
Excel is not suitable for displaying dynamic values on it?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top