Solved

Simple Question

Posted on 1998-12-28
5
122 Views
Last Modified: 2010-05-03
How do I print a mschart control.  I have VB6.0EE.
I looked through the methods and did not see any print method, but there has to be someway to do it.
0
Comment
Question by:cavacasp
  • 3
5 Comments
 
LVL 12

Expert Comment

by:mark2150
ID: 1452679
Don't bet on it.

M$ doesn't provide a print method.

The best you can do is Printer.PrintPicture and that gives terrible results.

Learn to write your own graph routines and you'll never use that !@#$%^ control again.

I can give you source on common graph types. Pies, Polars, Logrithmic, bars, histograms, etc. Is not hard and gives *MUCH* better results.

eMail me at:

Mark_Lambert@ntsc.navy.mil

M

0
 
LVL 3

Expert Comment

by:vmano
ID: 1452680
cavacasp,
i am not sure if you are still open for comments but here is an MSDN article which tells you about printing the contents of MSChart control. article number Q168749. URL is: http://support.microsoft.com/support/kb/articles/q168/7/49.asp?FR=0 

let me know if this helps
vmano
 

0
 
LVL 12

Expert Comment

by:mark2150
ID: 1452681
Your reference is basically the same method I said about printing the image of the control. However this results in terrible looking text and produces results that (to me) is unacceptable for work I'm going to turn in to a customer.

M

0
 

Author Comment

by:cavacasp
ID: 1452682
Sorry but I need some of the features with the control that you do not provide.
0
 
LVL 12

Accepted Solution

by:
mark2150 earned 20 total points
ID: 1452683
Let me know what you need and we can add it to the code.

M

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

Suggested Solutions

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

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

21 Experts available now in Live!

Get 1:1 Help Now