1. Falguni Patel
  2. PowerBuilder
  3. Friday, 25 June 2021 02:38 AM UTC

Hi,

We wish to open the file (.pdf, .xlsx, .docs etc) from Powerbuilder application. The file needs to be visible for users. OpenFile function opens the file but is not visible to users.

 

How can I achieve this?

 

Thanks,

Falguni

Accepted Answer
Chris Pollach Accepted Answer Pending Moderation
  1. Friday, 25 June 2021 03:43 AM UTC
  2. PowerBuilder
  3. # Permalink

Hi Falguni;

   FYI: https://www.rgagnon.com/pbdetails/pb-0008.html

Note: use the ShellExecuteW API now with Appeon PB.

Regards ... Chris

 

 

 

 

 

Comment
  1. Falguni Patel
  2. Saturday, 26 June 2021 04:22 AM UTC
Thanks Chris.. Much appreciated.
  1. Helpful
  1. Chris Pollach @Appeon
  2. Saturday, 26 June 2021 13:11 PM UTC
Hi Falguni ... You are most welcome. I hope that this works out for your application.
  1. Helpful
There are no comments made yet.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Friday, 25 June 2021 02:43 AM UTC
  2. PowerBuilder
  3. # 1

For each file type you need appropriate reader that can display that file format.  PowerBuilder doesn't have built-in Microsoft Office or Adobe Acrobat for example.  One thing you might want to try is loading these files in the new WebBrowser control of PB 2019 R3.  It is using Chrome and Chrome can display many file types.

Comment
  1. Falguni Patel
  2. Friday, 25 June 2021 02:47 AM UTC
Thanks Armeen, can I please have an example or a link for this?
  1. Helpful
  1. Armeen Mazda @Appeon
  2. Friday, 25 June 2021 02:58 AM UTC
Sorry, we don't have an example to demonstrate this technique.
  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.