1. Andrew Davis
  2. PowerBuilder
  3. Wednesday, 26 June 2024 12:54 PM UTC

Hi all

PB 2022 R3 windows 10 

Can anyone tell me how i can open a PDF file within a window in my application or the best way to view a pdf withing the application, i may be being a bit stupid but i am struggling 

thanks in advance as always

 

Andrew

Andreas Mykonios Accepted Answer Pending Moderation
  1. Tuesday, 16 July 2024 08:16 AM UTC
  2. PowerBuilder
  3. # 1

Hi.

I attach a simple application with two targets. One loads pdf using ole in one window and webbrowser control in a second window. The second targets opens pdf using webbrowser control and is a modified version of the first target.

Andreas. 

Attachments (1)
Comment
  1. Andrew Davis
  2. Tuesday, 23 July 2024 06:34 AM UTC
that is amazing - thank you so much

  1. Helpful
There are no comments made yet.
Andrew Davis Accepted Answer Pending Moderation
  1. Tuesday, 16 July 2024 07:40 AM UTC
  2. PowerBuilder
  3. # 2

Thank you

I am struggling with the documentation and getting this going.

 

Would anyone have a simple example they could share please, where it opens a pdf from the local drive in a window ?

 

Thanks so much

 

Andrew

Comment
  1. Chris Pollach @Appeon
  2. Tuesday, 16 July 2024 11:15 AM UTC
Hi Andrew;

FYI: Andreas has already posted an example in this thread.

Regards ... Chris
  1. Helpful
There are no comments made yet.
Francisco Martinez @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 26 June 2024 14:17 PM UTC
  2. PowerBuilder
  3. # 3

Hi Andrew,

 

You can use the Web Browser control to render PDF files inside your app without having to rely on any external applications. Please see here: https://docs.appeon.com/pb2022r3/pbug/ch04s05s01.html

Additionally, if you need to create or manipulate PDF documents in your application you can do so using the new PDF Builder objects: https://docs.appeon.com/pb2022r2/application_techniques/PDFBuilder.html

Regards,
Francisco

Comment
  1. Andrew Davis
  2. Tuesday, 2 July 2024 14:01 PM UTC
Francisco



Thank you



regards andrew
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.