Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RPC server not available
Message
De
17/10/2001 22:14:11
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
RPC server not available
Divers
Thread ID:
00570037
Message ID:
00570037
Vues:
53
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
Fil
Voir

Click here to load this message in the networking platform