Information générale
Catégorie:
Programmation Orientée Object
Titre:
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement