Solved

MSGraph Automation

Posted on 2006-07-08
2
271 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

911 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now