Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RPC server not available
Message
From
17/10/2001 22:14:11
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
RPC server not available
Miscellaneous
Thread ID:
00570037
Message ID:
00570037
Views:
51
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
Map
View

Click here to load this message in the networking platform