Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

MSGraph Automation

Posted on 2006-07-08
2
Medium Priority
?
281 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
[X]
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
2 Comments
 
LVL 34

Accepted Solution

by:
Sancler earned 2000 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

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
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…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

715 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