1. ATK Gimmy Susan
  2. PowerBuilder
  3. Tuesday, 26 March 2019 17:07 PM UTC

Hi Guru

I need to view a PDF in a Datawindow and change the filename proprerty.


tips ?

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 27 March 2019 13:22 PM UTC
  2. PowerBuilder
  3. # 1

Hi Gimmy;

   I have an example PB App built in PB2017R3 that shows you how to work with three different PDF ActiveX based software vendor products via OLE. PM me and I can send you the example App.

   There are a few PDF tool kits out there that also have a PDF "viewer" ActiveX control as well. Those should work with PB's OLE based DW. However, I have not tested this aspect of any of these to date. Just their PDF creation, splitting, merging, fillable forms, etc features.

   FWIW: You could also use am embedded web browser in our PB Apps to view the PDF file(s). Food for thought.

Regards ... Chris

Comment
  1. ATK Gimmy Susan
  2. Wednesday, 27 March 2019 14:30 PM UTC
Hi Chrish



I can't use vendor products.

The 'embedded web browser' is nice if you use it in windows with the 'navigate' property; but in datawindows ?
  1. Helpful
  1. Chris Pollach @Appeon
  2. Wednesday, 27 March 2019 15:18 PM UTC
Yes, unfortunately the DW's TABLEBLOB feature does not work with PDF files. That would be a very "Kool" enhancement IMHO. Then you could render any PDF within a DWO. ;-)
  1. Helpful
There are no comments made yet.
John Fauss Accepted Answer Pending Moderation
  1. Wednesday, 27 March 2019 00:57 AM UTC
  2. PowerBuilder
  3. # 2

Tip: Appeon Powerbuilder User's Guide - Chapter 30 "Using OLE in a DataWindow Object"

A scan of the PB examples in CodeXchange show there are a few examples involving OLE. Have you examined them?

Comment
  1. ATK Gimmy Susan
  2. Wednesday, 27 March 2019 08:19 AM UTC
hi

thanks for your post.



I searched on codeexchange both with the OLE keyword and with PDF, but I didn't find anything useful.

For "Chapter 30 "Using OLE in a DataWindow Object"" : I was not able to steal useful information. ( I'm not an ole dragon )







  1. Helpful
  1. Roland Smith
  2. Wednesday, 27 March 2019 14:11 PM UTC
The interface to the CodeExchange section sucks.
  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.