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
Solved

MSGraph Automation

Posted on 2006-07-08
2
274 Views
Last Modified: 2010-08-05
Hi Experts,

Does anyone know if it's possible to create an MSGraph object without the need for powerpoint and excel?

I am familiar with the MSGraph object itself and using it with PowerPoint and Excel but i would like to do something a little different.

My goal for now is to be able to create an MSGraph chart and display it on a form. Another problem i have is how to display it on a form. What control would i need?

The reason i cant get started is because you cannot create a New instance of the MSGraph application and Chart objects in VB.Net.

Any help would be much appreciated.

Cheers,

Tom
0
Comment
Question by:TommyTwoPints
2 Comments
 
LVL 34

Accepted Solution

by:
Sancler earned 500 total points
ID: 17065182
>>
you cannot create a New instance of the MSGraph application and Chart objects in VB.Net.
<<

I'm not sure that it's what you want, but if you add a .Com reference to Microsoft Office Chart - whichever version/s you have - you should be able to drag it from the Components Tag on the Toolbox onto a form.  You are then given the option to select a datasource or hardcode values and choose a variety of graph/chart files with the Active-X Edit command at the bottom of the properties window.

I've only ever used it (Version 10, in VB.NET 2003) for a "picture", so have no experience of dynamic coding with it.  But I wondered if it might help you.

Roger
0
 
LVL 3

Author Comment

by:TommyTwoPints
ID: 17066819
Hi Roger,

That is excellent; just what i need,

Thanks.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

837 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