?
Solved

write a pdf using vb6.0

Posted on 2004-08-10
4
Medium Priority
?
3,814 Views
Last Modified: 2013-12-02
I got a task to write  a pdf file using Adobe 5.0 writer in visual basic 6.0.   In this plz tell me what code i should write for generating the shape ,gif , and data value. in vb
0
Comment
Question by:nitin_hbtik
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 2000 total points
ID: 11770939
You cannot do this with VB and Acrobat. You need to use a 3rd party library to create PDFs. There are several libraries available. Take a look at PDFLib (http://www.pdflib.com). You can try it for free.
The only way you can use Acrobat (and btw, there is no product named "Adobe Writer". The name of this product is just "Adobe Acrobat"), you need to write PostScript files that describe your pages and then use Distiller (which comes with the full version of Acrobat) to convert the PostScript to PDF. PostScript is a programming language, and it's much easier to hand create it than PDF. But, if you have something like the PDFLib, you don't have to use a second format.
0
 

Expert Comment

by:secuteamers
ID: 12873904
You can write pdffiles from VB6 with Adobe Acrobat PDFWriter and throughout a third app. This really exists. As in Acrobat 4 it was standard installed but from Acrobat 5 and up, u have to do a custom install. The code use got to use, by example from excel, is the following:

ActiveWindow.SelectedSheets.PrintOut Copies:=1, ActivePrinter:= _
"Acrobat PDFWriter", PrToFileName:=yourfilename

But to instantly write to a pdf from VB6, is indeed from a plugin as khkremer said.
It's a long way, but usefull if u dont have the plugin and want to use a lot of excell functionality.
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

Microsoft Office Picture Manager is not included in Office 2013. This comes as a shock to users upgrading from earlier versions of Office, such as 2007 and 2010, where Picture Manager was included as a standard application. This article explains how…
In a previously published article (http://www.experts-exchange.com/articles/10331/Automatic-Duplex-Scanning-in-PaperPort-Versions-11-12-14.html) here at Experts Exchange, I explained how to achieve duplex (double-sided) scanning in Nuance's PaperPor…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
This video Micro Tutorial is the first in a two-part series that shows how to create and use custom scanning profiles in Nuance's PaperPort 14.5 (http://www.experts-exchange.com/articles/17490/). But the ability to create custom scanning profiles al…
Suggested Courses

752 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