General discussion

Locked

Open and Print .pdf in VB6

By cpolcarojunk ·
Hope somebody can help me/point me in the right direction. I need to write an application which will open a specific .pdf file based on user input and allow the user to print the file. I own Acrobat 5.0 so I will be able to place the Acrobat control on my form but I need some examples of how to manipulate the controls properties to allow me to load the .pdf files and print them. I am using VB6.

Thanks for the help

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
Thread display: Collapse - | Expand +

All Comments

Collapse -

Wrong forum.

by deepsand In reply to Open and Print .pdf in VB ...

This is a tech. problem, in search of a solution.

It properly belongs in "Technical Q&A," not in "Discussions." Please re-post there.

Not only will you be more likely to attract the attention of those seeking to provide answers, but you will also make it easier for those seeking discussions to find such.

Thank you.

Collapse -

Open pdf

by pmsyip In reply to Open and Print .pdf in VB ...

The easies way is using the following code provided Acrobat reader is installed.

y = ShellExecute(Me.hwnd, "Open", filename, "", vbNullString, 1)

Me is the form

Back to Web Development Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums