Solved

Simple Question

Posted on 1998-12-28
5
125 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

Suggested Solutions

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

808 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