Loading...

displayFromString in GdViewer OCX Ver. 4.12.4

Support for GdViewer OCX and GdViewer Pro ActiveX/SDK.

displayFromString in GdViewer OCX Ver. 4.12.4

Postby Jeroen » Thu Dec 03, 2009 4:57 pm

Hi, I'm currently evaluating the GdViewer OCX Ver. 4.12.4. I'm implementing the OCX in a Progress ABL environment. I have my images and pdf files stored in a database, in binary format. I can retrieve these files and create an os file, which I then load into the ocx using displayFromFile. This works fine, no problem. But, this does mean I have to do disk I/O. I would like to use the displayFromString method, but here's the catch: I can only retrieve the binary file in a base64 encoded string. The OCX cannot display the file from this encoded string. Do you foresee that the option to display from a base64 encoded string will be added to the OCX in a future release? Using the displayFromByteArray is not an option btw, as I said my environment is Progress ABL, I'm lacking the right datatype for this...

Regards, Jeroen
Jeroen
 
Posts: 3
Joined: Thu Dec 03, 2009 4:36 pm

Re: displayFromString in GdViewer OCX Ver. 4.12.4

Postby Loïc » Thu Dec 03, 2009 5:17 pm

Hi,

This feature is implemented in GdPciture Pro only.

The Imaging class provide a function named Decode64String().

With best regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4441
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: displayFromString in GdViewer OCX Ver. 4.12.4

Postby bakatori » Wed Oct 27, 2010 3:23 am

are you developing on the web form?
bakatori
 
Posts: 19
Joined: Tue Jul 06, 2010 9:49 am


Return to GdViewer [Pro] ActiveX

Who is online

Users browsing this forum: Bing [Bot] and 1 guest