Solved

Simple Question

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Concatenate 2 userform comboboxes to a userform text box 4 61
message box in access 4 46
Spell Check in VB6 13 112
how to Classify of email (pdf attachments) 7 36
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

770 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