Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open a PDF file stored on a table

Status
Not open for further replies.

RubensLott

Programmer
Oct 2, 2017
10
0
0
BR
Good morning all!

I have an application that saves PDF files on a table - the attribute is image type.
I need to see or view or open the documents that was saved. I am using an OLE_WEB object to open it but it's not working ok.....
Any suggestions??? [hourglass]
Thanks in advance...
 
Hi....

I found a way that worked ok...

STRING LS_DOC
ll_iddoc = dw_sheet.GetItemNumber(row,"nrseq")
LS_DOC = "c:\temp_foto\" + string(ll_iddoc) + ".pdf"

inet iinet_base
GetContextService("Internet", iinet_base)
iinet_base.HyperlinkToURL(ls_doc)

BUT it opens the browser to show the PDF file.....

It works but I need the file to be opened from inside the PowerBuilder....

Still searching....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top