Solved

Simple Question

Posted on 1998-12-28
5
121 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 Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
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…

706 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