General information
Category:
Object Oriented Programming
Title:
RPC server not available
Hi,
I generate an html file and call IE to display it. On subsequent runs, I check to see if the IE object exists and thus avoid opening other instances of IE.
This works fine unless the user CLOSES the IE window. In that case, a subsequent run gets: RPC server not available
This is my code. How can I detect if the IE window has been closed ?
With Thisform
If Vartype(.oIE) = [O] And .oIE.Visible
* Object exists
Else
.oIE = CreateObject([InternetExplorer.Application])
Endif
.oIE.Navigate(lcHtmlFile)
.oIE.Visible = .T.
Endwith
Also, any idea where I can get a list of IE's other exposed methods ?
Thanks,
Henry
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only