Hello,
How I can open a PDF document with a Web Browser Control? I tried, but I onlu opem a white square, when I open a Response Window with Web Browser.
Kind Regards and thank you in advanced
Hello,
How I can open a PDF document with a Web Browser Control? I tried, but I onlu opem a white square, when I open a Response Window with Web Browser.
Kind Regards and thank you in advanced
I used Powerbuilder 2019 R3. It`s a migration from Powerbuilder 12.5. The old code is something like this:
-This is in the principal windoiw
lw_viewPDF.uo_webBrowser.ole_1.object.navigate(ls_parametros)
- then call de the response
OpenSheetWithParm (lw_viewPDF, "W", this/*w_ipm_frame*/, 3, Original!)
--And in the response some think like that in the timer event
if long(uo_webBrowser.ole_1.object.ReadyState) = 4 then
//cargó
hpb_progreso.position = hpb_progreso.maxPosition
//Parar el evento timer
Timer(0)
end if
Kind Regards