hi,
I am trying to open an html file named "c:\program files\sample.htm" from a PB application, to be displayed to the screen.
I tried the following code:
oleobject ole_doc
ole_doc = create oleobject
ole_doc.ConnectToNewObject"InternetExplorer.Application.1"
ole_doc.Documents.Open("c:\program files\sample.htm"
The last line returns the error "Name not found accessing external object property documents." But the path and filename exists in the computer.
Can anyone tell me what's wrong with my script or suggest a workaround?
Thanks...
I am trying to open an html file named "c:\program files\sample.htm" from a PB application, to be displayed to the screen.
I tried the following code:
oleobject ole_doc
ole_doc = create oleobject
ole_doc.ConnectToNewObject"InternetExplorer.Application.1"
ole_doc.Documents.Open("c:\program files\sample.htm"
The last line returns the error "Name not found accessing external object property documents." But the path and filename exists in the computer.
Can anyone tell me what's wrong with my script or suggest a workaround?
Thanks...