Skip to Content
0
Former Member
Sep 25, 2013 at 03:08 PM

Microsoft web browser error handling

50 Views

I'm opening a local PDF file with a Microsoft web browser OLE-object like this:

ole_pdf.Object.navigate('file://'+<filename>)

It works fine so far.

However I would like to get to know if there was anything wrong with the navigate function, for example if the file didn'nt exist.

How can I retrieve that information?

I've gotten all my information about the the web browser ole from here so far: http://www.sybase.com/detail?id=47945

They speak about error events but they have never fired for me under any circumstances.

I'm using PB 12.5 Classic btw!

Best regards, Lucas