Skip to main content
Participating Frequently
October 25, 2007
Question

How to convert word Doc, Excel into PDF using Adobe API in VB6.0

  • October 25, 2007
  • 39 replies
  • 74521 views
Dear All,
I'm having the Adobe Acrobat SDk 8.0 and I need to convert our Word Documentent and Excel Sheets into PDF format thru our VB6.0 program. I'm able to manage to open the PDF documents and printing. I don't know hoe to convert the documents thru VB program.
This topic has been closed for replies.

39 replies

Participating Frequently
June 23, 2008
Unless you plan to have your VBA do Word->PDF conversion - then yes, you'll need something else (Adobe Acrobat, for example).

Leonard
Participant
June 23, 2008
My project is very similar to those explained initially.

I am trying to convert a multi-page word document to single paged pdf's with auto-saving (auto-name file). The name of each file would be taken from parts of the word document (a line from each page). In the end, would like to generate a toolbar button that after opening the word document, a simple click would generate all of the pdf's.

Can this be done in VBA alone? Or will I need to incorporate other programs, macros, etc.?

By the way, I am an experienced programmer but beginner in Visual Basic

Thanks,
Nick
Patrick_Leckey
Participating Frequently
May 21, 2008
vidhoo21:

This can be done via OLE or by printing to the PDF printer. Either way requires the end user running your VB-created .exe to have a copy of Acrobat (not the free Reader, but a licensed copy of Acrobat) installed on their machine.

As for a script to perform a "Save As PDF" from Word, that would be a question for a VBA or Word automation forum, not the Acrobat SDK forum.
Participant
May 21, 2008
Hi Rick

Did you find a way to do the conversion. My requirement is just similar to yours. I'm using VB6 instead of .net
My current VB application creates 4-5 word documents. I want to convert them as pdf (or saveas PDF) and save it at the local disk for all the users who will use my VB exe (its a desktop application).

Do you have any inputs as how to achieve it?

Thanks.
Participant
April 1, 2008
Hi all,

Are there any samples posted on ADOBE site to open a (virtual earth map) image in a PDF file using Acrobat 8.0 and help me print it (Windows forms).

Azam
Participant
March 31, 2008
Dear all,

My very first requirement is NOT TO USE THIRD PARTY libraries. And I want to convert from PDF to DOC and Vice versa. Could you please guide me how can I do it using either C#/C++. I searched the internet but all are using thirdy party library files to read PDF. Could any one please suggest me on this ASAP

Thanks a lot
Participating Frequently
March 31, 2008
>My very first requirement is NOT TO USE THIRD PARTY libraries.

Does that mean that using Adobe libraries is acceptable?

If so - is this for
* a server?
* a single user who owns Acrobat Professional 8.0?
* something else?


Aandi Inston
Participating Frequently
March 5, 2008
Thank you Andi
i thought you couldn't answer me because u were asking me about server and client. Now come up with my prob solution.

Thank you for that
ok bye
now i will wait till the apache poi reads the entire word
Participating Frequently
March 5, 2008
Thank you very much Leonard for your kind reply

Actually you know my requirement is on java platform to convert word document completely and perfectly to pdf file.

I researched that much on apache poi and itext
then moved onto poi and fos by converting word document to xls-fo and then to pdf
but it is not perfect
because those projects still at scratchpad.

So can you do one favor for me how can i write that plugin in c/c++ and then call from java
or can i call that plugin from java
Participating Frequently
March 5, 2008
It sounds as if you are describing server solutions (Apache etc.) and
using Java, rather than something for use on a client.

In any case, you cannot "call" plug-ins. They are a part of Acrobat.

Aandi Inston
Participating Frequently
March 5, 2008
There are no supported APIs for document conversion using Acrobat and VB alone. The only supported APIs for Acrobat that enable document conversion are via plugins, which are written in C/C++.

Leonard
Participating Frequently
March 5, 2008
yes
can u tell me how to do