473,499 Members | 1,893 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

VSPrinter Alternative?

We have an old VSPrinter control from Component One in our VB6 programs.

The VSPrinter control allowed our VB6 apps to generate nice looking forms
and display data to our users in a "print preview" window.

We want to do something similar with Visual Studio, but I can't find how to
manually write graphical information to a PrintPreview object.

Where could I find this information? I do not want to use Crystal Reports or
Report Viewer.
Jun 27 '08 #1
2 3536
You just use GDI+ to write to the Graphics object of the PrintDocument class.
Here's an article from MSDN that explains it in detail:
http://msdn2.microsoft.com/en-us/magazine/cc188767.aspx

"jp2msft" wrote:
We have an old VSPrinter control from Component One in our VB6 programs.

The VSPrinter control allowed our VB6 apps to generate nice looking forms
and display data to our users in a "print preview" window.

We want to do something similar with Visual Studio, but I can't find how to
manually write graphical information to a PrintPreview object.

Where could I find this information? I do not want to use Crystal Reports or
Report Viewer.
Jun 27 '08 #2
Thanks! I've been looking for something like that! It is perfect.

"Joe Monnin" wrote:
You just use GDI+ to write to the Graphics object of the PrintDocument class.
Here's an article from MSDN that explains it in detail:
http://msdn2.microsoft.com/en-us/magazine/cc188767.aspx

"jp2msft" wrote:
We have an old VSPrinter control from Component One in our VB6 programs.

The VSPrinter control allowed our VB6 apps to generate nice looking forms
and display data to our users in a "print preview" window.

We want to do something similar with Visual Studio, but I can't find how to
manually write graphical information to a PrintPreview object.

Where could I find this information? I do not want to use Crystal Reports or
Report Viewer.
Jun 27 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
5110
by: Hmmm... | last post by:
I have a client who has a large number of reports that have been saved using VsView 2.0 Vsprinter SaveDoc method. This was done in a VB3 application. I am migrating their application program to...
46
3978
by: Robin Becker | last post by:
It seems that the rotor module is being deprecated in 2.3, but there doesn't seem to be an obvious alternative. I'm using it just for obfuscation. It seems we have ssl available in 2.3 for sockets,...
99
4534
by: Paul McGuire | last post by:
There are a number of messages on the python-dev mail list that indicate that Guido is looking for some concensus to come from this list as to what *one* alternative syntax for decorators we would...
28
2354
by: Paul McGuire | last post by:
Well, after 3 days of open polling, the number of additional votes have dropped off pretty dramatically. Here are the results so far: Total voters: 55 (with 3 votes each) Votes for each choice...
1
13268
by: prasaddevivara | last post by:
I am using the outerHTML property to modify the HTML of existin elements in a web page in Internet Explorer. But same outerHTM property is not working in firefox browser, Anybody can tell me a...
3
2589
by: Will McGugan | last post by:
Hi, Is there a naming convention regarding alternative constructors? ie static methods where __new__ is called explicity. I use lower_case for methods in general, but thought maybe CamelCase...
0
2764
by: sachintandon | last post by:
Hello all, Thanks in advance for your help I have a problem in sending emails, my requirement is to send multipart alternative emails with attachments, I'm able to send text with attachments or...
11
2262
by: Francine.Neary | last post by:
I've read that as well as "normal" Java-like function definitions, e.g. int main(int argc, char **argv), you can also choose to use an alternative syntax, i.e. int main(argc, argv) int argc;...
0
1788
by: MorrisB | last post by:
I am using the Component one ocx vsview 8.0 vsprinter control and have a question concerning print orientation. Is it possible to use both portrait and landscape orientation on the same page. I...
0
7131
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7007
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7220
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7388
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5470
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4600
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3099
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3091
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
297
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.