Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 28 MAY 2023 11:40:20PM Gerry Van Niekerk wrote:

When I have say a Word Doc displayed in File Preview Control

Can I print/save that as a PDF

and same for say Excel files

Reason is I want to be able to take word and excel files and save them as a PDF without any user interaction.

OR Print it using OI and then I can print it as a PDF, I am combining different documents in one PDF file, to be emailed out.

TIF files I just print as a BMP and that works ok

Any other suggestions welcomed.

Thanks all

Gerry


At 29 MAY 2023 02:23AM Donald Bakke wrote:

When I have say a Word Doc displayed in File Preview Control

Can I print/save that as a PDF

and same for say Excel files

Reason is I want to be able to take word and excel files and save them as a PDF without any user interaction.

OR Print it using OI and then I can print it as a PDF, I am combining different documents in one PDF file, to be emailed out.

TIF files I just print as a BMP and that works ok

Any other suggestions welcomed.

Thanks all

Gerry

The File Preview control won't give you that level of functionality. It is, after all, for preview purposes only. You can use OLE Automation to interact with the document in code. There are a few examples of OLE Automation code on this forum that you can use to get you started.

Don Bakke

SRP Computer Solutions, Inc.

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/e42e45fc9f67ab45b8d3aa2b6fc0236c.txt
  • Last modified: 2024/05/23 12:38
  • by 127.0.0.1