Displaying Excel chart in C# application

  • Thread starter Thread starter JT
  • Start date Start date
J

JT

Hi,

I've read (and tried) the article "How To Automate Microsoft Excel from
Microsoft Visual C# .NET" (available at
http://support.microsoft.com/default.aspx?kbid=302084). This opens up Excel,
fills in a spreadsheet with numbers, and creates a chart in the spreadsheet
from the data.

Is there a way to do that, but insted of showing the chart in Excel, never
have the Excel window show up and just show the excel chart within my
application (as a control)?

Thanks
JT
 
Right click in the toolbox and choose Add/Remove Items. Under the COM tab, check the box for Microsoft Office Spreadsheet. See if
that is what you need.
 
An Excel chart has an export method, which can be used to produce a gif.
 

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

Back
Top