?
Solved

How to automatically generate PDFs and RAR/ZIP from a VB6 application

Posted on 2006-04-29
3
Medium Priority
?
241 Views
Last Modified: 2010-04-17
HI Experts,
I need generate PDF and ZIP or RAR files automatically from our application.
Without making the user answer the tipical windows for this features.

I mean, this files must be totally generated by the application.

How can I do this?

Regards,
0
Comment
Question by:RGuillermo
  • 2
3 Comments
 
LVL 14

Accepted Solution

by:
MilanKM earned 2000 total points
ID: 16569898
0
 
LVL 12

Expert Comment

by:Mortaza Doulaty
ID: 16571689
The easiest way to produce PDF files is to use Adobe AcrobatWriter printer driver.
It installa a virtual printer so that you can set the default printer to that and work with it as a regular printer.
You can use Printer.Print and ... to add text and images to your PDF file, once you have completed your printing proccess, by call Printer.EndDoc, it will begin to write to the PDF file.

it was easy, isn't it?
And about Zip file, as Milan said, you can use these links:
http://www.vbaccelerator.com/home/vb/code/libraries/Compression/Zipping_Files/article.asp

and this is the link to download a sample project:

http://www.vbaccelerator.com/home/vb/Code/Libraries/Compression/Zipping_Files/VB6_Zip_Sample_Project.asp
0
 
LVL 12

Expert Comment

by:Mortaza Doulaty
ID: 16571695
The last link was a free DLL with its source code
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

In this post we will learn different types of Android Layout and some basics of an Android App.
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Simple Linear Regression

850 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