Home Dashboard Directory Help
Search

PowerShell v3 - InternetExplorer.Application issue by Noral Kuhlmann


Status: 

Active


1
0
Sign in
to vote
Type: Bug
ID: 764756
Opened: 9/26/2012 8:53:07 AM
Access Restriction: Public
1
Workaround(s)
view
1
User(s) can reproduce this bug

Description

When trying to use the ComObject InternetExplorer.Application in PowerShell v3 with either Windows 8 or Windows Server 2012 the object does not load all ComObjects if there is no internet access.

I have tried to disable Network Location Awareness (NLA) by adding the following registry keys:

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\NetworkConnectivityStatusIndicator]
"NoActiveProbe"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet]
"EnableActiveProbing"=dword:00000000

Then trying again after rebooting - still no IE document and NLA still says "No Internet Access".
Details
Sign in to post a comment.
Posted by Benoit Boudeville on 12/18/2012 at 2:43 AM
Also found that on my server where it works, type of the document object is : mshtml.HTMLDocumentClass
This class is available (eg: $obj = new-object mshtml.HTMLDocumentClass)

On my failing servers, this type is not regognized. So I am starting to suspect an issue with .NET Framwork versions _not_ installed on the servers where it doesn't work. Typically, I did not install .NET 2.0 and .NET 3.5.1 on the 2012 failing servers.

Currently I've checked and Microsoft.mshtml.dll is present is the GAC on my working server, and it's not there for the others (non-working).
Posted by Benoit Boudeville on 12/17/2012 at 1:46 PM

I have the same issue on my Win 2012 servers which were fresh installed. Looks like upgraded servers are fine.

On a working server:
$tmp = New-Object -comObject InternetExplorer.Application -ErrorAction:Stop
$tmp.Navigate2("about:blank")
$tmp.Document ==> the object is missing properties and all methods are defined with no argument (eg: document.open())

Where it works, properties and methods are available, as shown below:


TypeName: mshtml.HTMLDocumentClass

Name                                                MemberType Definition                                            
----                                                ---------- ----------                                            
HTMLDocumentEvents2_Event_onactivate                Event     mshtml.HTMLDocumentEvents2_onactivateEventHandler HTM...
HTMLDocumentEvents2_Event_onafterupdate             Event     mshtml.HTMLDocumentEvents2_onafterupdateEventHandler ...
HTMLDocumentEvents2_Event_onbeforeactivate         Event     mshtml.HTMLDocumentEvents2_onbeforeactivateEventHandl...
HTMLDocumentEvents2_Event_onbeforedeactivate        Event     mshtml.HTMLDocumentEvents2_onbeforedeactivateEventHan...
HTMLDocumentEvents2_Event_onbeforeeditfocus         Event     mshtml.HTMLDocumentEvents2_onbeforeeditfocusEventHand...
HTMLDocumentEvents2_Event_onbeforeupdate            Event     mshtml.HTMLDocumentEvents2_onbeforeupdateEventHandler...
HTMLDocumentEvents2_Event_oncellchange             Event     mshtml.HTMLDocumentEvents2_oncellchangeEventHandler H...
HTMLDocumentEvents2_Event_onclick                 Event     mshtml.HTMLDocumentEvents2_onclickEventHandler HTMLDo...
HTMLDocumentEvents2_Event_oncontextmenu             Event     mshtml.HTMLDocumentEvents2_oncontextmenuEventHandler ...
HTMLDocumentEvents2_Event_oncontrolselect         Event     mshtml.HTMLDocumentEvents2_oncontrolselectEventHandle...
HTMLDocumentEvents2_Event_ondataavailable         Event     mshtml.HTMLDocumentEvents2_ondataavailableEventHandle...
HTMLDocumentEvents2_Event_ondatasetchanged         Event     mshtml.HTMLDocumentEvents2_ondatasetchangedEventHandl...
HTMLDocumentEvents2_Event_ondatasetcomplete         Event     mshtml.HTMLDocumentEvents2_ondatasetcompleteEventHand...
HTMLDocumentEvents2_Event_ondblclick                Event     mshtml.HTMLDocumentEvents2_ondblclickEventHandler HTM...
HTMLDocumentEvents2_Event_ondeactivate             Event     mshtml.HTMLDocumentEvents2_ondeactivateEventHandler H...
HTMLDocumentEvents2_Event_ondragstart             Event     mshtml.HTMLDocumentEvents2_ondragstartEventHandler HT...
HTMLDocumentEvents2_Event_onerrorupdate             Event     mshtml.HTMLDocumentEvents2_onerrorupdateEventHandler ...
HTMLDocumentEvents2_Event_onfocusin                 Event     mshtml.HTMLDocumentEvents2_onfocusinEventHandler HTML...
HTMLDocumentEvents2_Event_onfocusout                Event     mshtml.HTMLDocumentEvents2_onfocusoutEventHandler HTM...
HTMLDocumentEvents2_Event_onhelp                    Event     mshtml.HTMLDocumentEvents2_onhelpEventHandler HTMLDoc...
HTMLDocumentEvents2_Event_onkeydown                 Event     mshtml.HTMLDocumentEvents2_onkeydownEventHandler HTML...
HTMLDocumentEvents2_Event_onkeypress                Event     mshtml.HTMLDocumentEvents2_onkeypressEventHandler HTM...
HTMLDocumentEvents2_Event_onkeyup                 Event     mshtml.HTMLDocumentEvents2_onkeyupEventHandler HTMLDo...
HTMLDocumentEvents2_Event_onmousedown             Event     mshtml.HTMLDocumentEvents2_onmousedownEventHandler HT...
HTMLDocumentEvents2_Event_onmousemove             Event     mshtml.HTMLDocumentEvents2_onmousemoveEventHandler HT...
HTMLDocumentEvents2_Event_onmouseout                Event     mshtml.HTMLDocumentEvents2_onmouseoutEventHandler HTM...
HTMLDocumentEvents2_Event_onmouseover             Event     mshtml.HTMLDocumentEvents2_onmouseoverEventHandler HT...
HTMLDocumentEvents2_Event_onmouseup                 Event     mshtml.HTMLDocumentEvents2_onmouseupEventHandler HTML...
HTMLDocumentEvents2_Event_onmousewheel             Event     mshtml.HTMLDocumentEvents2_onmousewheelEventHandler H...
HTMLDocumentEvents2_Event_onpropertychange         Event     mshtml.HTMLDocumentEvents2_onpropertychangeEventHandl...
HTMLDocumentEvents2_Event_onreadystatechange        Event     mshtml.HTMLDocumentEvents2_onreadystatechangeEventHan...
HTMLDocumentEvents2_Event_onrowenter                Event     mshtml.HTMLDocumentEvents2_onrowenterEventHandler HTM...
HTMLDocumentEvents2_Event_onrowexit                 Event     mshtml.HTMLDocumentEvents2_onrowexitEventHandler HTML...
HTMLDocumentEvents2_Event_onrowsdelete             Event     mshtml.HTMLDocumentEvents2_onrowsdeleteEventHandler H...
HTMLDocumentEvents2_Event_onrowsinserted            Event     mshtml.HTMLDocumentEvents2_onrowsinsertedEventHandler...
HTMLDocumentEvents2_Event_onselectionchange         Event     mshtml.HTMLDocumentEvents2_onselectionchangeEventHand...
HTMLDocumentEvents2_Event_onselectstart             Event     mshtml.HTMLDocumentEvents2_onselectstartEventHandler ...
HTMLDocumentEvents2_Event_onstop                    Event     mshtml.HTMLDocumentEvents2_onstopEventHandler HTMLDoc...
HTMLDocumentEvents_Event_onactivate                 Event     mshtml.HTMLDocumentEvents_onactivateEventHandler HTML...
HTMLDocumentEvents_Event_onafterupdate             Event     mshtml.HTMLDocumentEvents_onafterupdateEventHandler H...
HTMLDocumentEvents_Event_onbeforeactivate         Event     mshtml.HTMLDocumentEvents_onbeforeactivateEventHandle...
HTMLDocumentEvents_Event_onbeforedeactivate         Event     mshtml.HTMLDocumentEvents_onbeforedeactivateEventHand...
HTMLDocumentEvents_Event_onbeforeeditfocus         Event     mshtml.HTMLDocumentEvents_onbeforeeditfocusEventHandl...
HTMLDocumentEvents_Event_onbeforeupdate             Event     mshtml.HTMLDocumentEvents_onbeforeupdateEventHandler ...
HTMLDocumentEvents_Event_oncellchange             Event     mshtml.HTMLDocumentEvents_oncellchangeEventHandler HT...
HTMLDocumentEvents_Event_onclick                    Event     mshtml.HTMLDocumentEvents_onclickEventHandler HTMLDoc...
HTMLDocumentEvents_Event_oncontextmenu             Event     mshtml.HTMLDocumentEvents_oncontextmenuEventHandler H...
HTMLDocumentEvents_Event_oncontrolselect            Event     mshtml.HTMLDocumentEvents_oncontrolselectEventHandler...
HTMLDocumentEvents_Event_ondataavailable            Event     mshtml.HTMLDocumentEvents_ondataavailableEventHandler...
HTMLDocumentEvents_Event_ondatasetchanged         Event     mshtml.HTMLDocumentEvents_ondatasetchangedEventHandle...
HTMLDocumentEvents_Event_ondatasetcomplete         Event     mshtml.HTMLDocumentEvents_ondatasetcompleteEventHandl...
HTMLDocumentEvents_Event_ondblclick                 Event     mshtml.HTMLDocumentEvents_ondblclickEventHandler HTML...
HTMLDocumentEvents_Event_ondeactivate             Event     mshtml.HTMLDocumentEvents_ondeactivateEventHandler HT...
HTMLDocumentEvents_Event_ondragstart                Event     mshtml.HTMLDocumentEvents_ondragstartEventHandler HTM...
HTMLDocumentEvents_Event_onerrorupdate             Event     mshtml.HTMLDocumentEvents_onerrorupdateEventHandler H...
HTMLDocumentEvents_Event_onfocusin                 Event     mshtml.HTMLDocumentEvents_onfocusinEventHandler HTMLD...
HTMLDocumentEvents_Event_onfocusout                 Event     mshtml.HTMLDocumentEvents_onfocusoutEventHandler HTML...
HTMLDocumentEvents_Event_onhelp                     Event     mshtml.HTMLDocumentEvents_onhelpEventHandler HTMLDocu...
HTMLDocumentEvents_Event_onkeydown                 Event     mshtml.HTMLDocumentEvents_onkeydownEventHandler HTMLD...
HTMLDocumentEvents_Event_onkeypress                 Event     mshtml.HTMLDocumentEvents_onkeypressEventHandler HTML...
HTMLDocumentEvents_Event_onkeyup                    Event     mshtml.HTMLDocumentEvents_onkeyupEventHandler HTMLDoc...
HTMLDocumentEvents_Event_onmousedown                Event     mshtml.HTMLDocumentEvents_onmousedownEventHandler HTM...
HTMLDocumentEvents_Event_onmousemove                Event     mshtml.HTMLDocumentEvents_onmousemoveEventHandler HTM...
HTMLDocumentEvents_Event_onmouseout                 Event     mshtml.HTMLDocumentEvents_onmouseoutEventHandler HTML...
HTMLDocumentEvents_Event_onmouseover                Event     mshtml.HTMLDocumentEvents_onmouseoverEventHandler HTM...
HTMLDocumentEvents_Event_onmouseup                 Event     mshtml.HTMLDocumentEvents_onmouseupEventHandler HTMLD...
HTMLDocumentEvents_Event_onmousewheel             Event     mshtml.HTMLDocumentEvents_onmousewheelEventHandler HT...
HTMLDocumentEvents_Event_onpropertychange         Event     mshtml.HTMLDocumentEvents_onpropertychangeEventHandle...
HTMLDocumentEvents_Event_onreadystatechange         Event     mshtml.HTMLDocumentEvents_onreadystatechangeEventHand...
HTMLDocumentEvents_Event_onrowenter                 Event     mshtml.HTMLDocumentEvents_onrowenterEventHandler HTML...
HTMLDocumentEvents_Event_onrowexit                 Event     mshtml.HTMLDocumentEvents_onrowexitEventHandler HTMLD...
HTMLDocumentEvents_Event_onrowsdelete             Event     mshtml.HTMLDocumentEvents_onrowsdeleteEventHandler HT...
HTMLDocumentEvents_Event_onrowsinserted             Event     mshtml.HTMLDocumentEvents_onrowsinsertedEventHandler ...
HTMLDocumentEvents_Event_onselectionchange         Event     mshtml.HTMLDocumentEvents_onselectionchangeEventHandl...
HTMLDocumentEvents_Event_onselectstart             Event     mshtml.HTMLDocumentEvents_onselectstartEventHandler H...
HTMLDocumentEvents_Event_onstop                     Event     mshtml.HTMLDocumentEvents_onstopEventHandler HTMLDocu...
add_onactivate                                     Method     void add_onactivate(mshtml.HTMLDocumentEvents_onactiv...
add_onafterupdate                                 Method     void add_onafterupdate(mshtml.HTMLDocumentEvents_onaf...
add_onbeforeactivate                                Method     void add_onbeforeactivate(mshtml.HTMLDocumentEvents_o...
add_onbeforedeactivate                             Method     void add_onbeforedeactivate(mshtml.HTMLDocumentEvents...
add_onbeforeeditfocus                             Method     void add_onbeforeeditfocus(mshtml.HTMLDocumentEvents_...
add_onbeforeupdate                                 Method     void add_onbeforeupdate(mshtml.HTMLDocumentEvents_onb...
add_oncellchange                                    Method     void add_oncellchange(mshtml.HTMLDocumentEvents_oncel...
add_onclick                                         Method     void add_onclick(mshtml.HTMLDocumentEvents_onclickEve...
add_oncontextmenu                                 Method     void add_oncontextmenu(mshtml.HTMLDocumentEvents_onco...
add_oncontrolselect                                 Method     void add_oncontrolselect(mshtml.HTMLDocumentEvents_on...
add_ondataavailable                                 Method     void add_ondataavailable(mshtml.HTMLDocumentEvents_on...
add_ondatasetchanged                                Method     void add_ondatasetchanged(mshtml.HTMLDocumentEvents_o...
add_ondatasetcomplete                             Method     void add_ondatasetcomplete(mshtml.HTMLDocumentEvents_...
add_ondblclick                                     Method     void add_ondblclick(mshtml.HTMLDocumentEvents_ondblcl...
add_ondeactivate                                    Method     void add_ondeactivate(mshtml.HTMLDocumentEvents_ondea...
add_ondragstart                                     Method     void add_ondragstart(mshtml.HTMLDocumentEvents_ondrag...
add_onerrorupdate                                 Method     void add_onerrorupdate(mshtml.HTMLDocumentEvents_oner...
add_onfocusin                                     Method     void add_onfocusin(mshtml.HTMLDocumentEvents_onfocusi...
add_onfocusout                                     Method     void add_onfocusout(mshtml.HTMLDocumentEvents_onfocus...
add_onhelp                                         Method     void add_onhelp(mshtml.HTMLDocumentEvents_onhelpEvent...
add_onkeydown                                     Method     void add_onkeydown(mshtml.HTMLDocumentEvents_onkeydow...
add_onkeypress                                     Method     void add_onkeypress(mshtml.HTMLDocumentEvents_onkeypr...
add_onkeyup                                         Method     void add_onkeyup(mshtml.HTMLDocumentEvents_onkeyupEve...
add_onmousedown                                     Method     void add_onmousedown(mshtml.HTMLDocumentEvents_onmous...
add_onmousemove                                     Method     void add_onmousemove(mshtml.HTMLDocumentEvents_onmous...
add_onmouseout                                     Method     void add_onmouseout(mshtml.HTMLDocumentEvents_onmouse...
add_onmouseover                                     Method     void add_onmouseover(mshtml.HTMLDocumentEvents_onmous...
add_onmouseup                                     Method     void add_onmouseup(mshtml.HTMLDocumentEvents_onmouseu...
add_onmousewheel                                    Method     void add_onmousewheel(mshtml.HTMLDocumentEvents_onmou...
add_onpropertychange                                Method     void add_onpropertychange(mshtml.HTMLDocumentEvents_o...
add_onreadystatechange                             Method     void add_onreadystatechange(mshtml.HTMLDocumentEvents...
add_onrowenter                                     Method     void add_onrowenter(mshtml.HTMLDocumentEvents_onrowen...
add_onrowexit                                     Method     void add_onrowexit(mshtml.HTMLDocumentEvents_onrowexi...
add_onrowsdelete                                    Method     void add_onrowsdelete(mshtml.HTMLDocumentEvents_onrow...
add_onrowsinserted                                 Method     void add_onrowsinserted(mshtml.HTMLDocumentEvents_onr...
add_onselectionchange                             Method     void add_onselectionchange(mshtml.HTMLDocumentEvents_...
add_onselectstart                                 Method     void add_onselectstart(mshtml.HTMLDocumentEvents_onse...
add_onstop                                         Method     void add_onstop(mshtml.HTMLDocumentEvents_onstopEvent...
appendChild                                         Method     mshtml.IHTMLDOMNode, Microsoft.mshtml, Version=7.0.33...
attachEvent                                         Method     bool attachEvent(string event, System.Object pdisp), ...
clear                                             Method     void clear(), void DispHTMLDocument.clear(), void IHT...
cloneNode                                         Method     mshtml.IHTMLDOMNode, Microsoft.mshtml, Version=7.0.33...
close                                             Method     void close(), void DispHTMLDocument.close(), void IHT...
createAttribute                                     Method     mshtml.IHTMLDOMAttribute createAttribute(string bstra...
createComment                                     Method     mshtml.IHTMLDOMNode, Microsoft.mshtml, Version=7.0.33...
createDocumentFragment                             Method     mshtml.IHTMLDocument2, Microsoft.mshtml, Version=7.0....
createDocumentFromUrl                             Method     mshtml.IHTMLDocument2, Microsoft.mshtml, Version=7.0....
createElement                                     Method     mshtml.IHTMLElement, Microsoft.mshtml, Version=7.0.33...
CreateEventObject                                 Method     mshtml.IHTMLEventObj, Microsoft.mshtml, Version=7.0.3...
CreateObjRef                                        Method     System.Runtime.Remoting.ObjRef CreateObjRef(type requ...
createRenderStyle                                 Method     mshtml.IHTMLRenderStyle createRenderStyle(string v), ...
createStyleSheet                                    Method     mshtml.IHTMLStyleSheet createStyleSheet(string bstrHr...
createTextNode                                     Method     mshtml.IHTMLDOMNode, Microsoft.mshtml, Version=7.0.33...
detachEvent                                         Method     void detachEvent(string event, System.Object pdisp), ...
elementFromPoint                                    Method     mshtml.IHTMLElement, Microsoft.mshtml, Version=7.0.33...
Equals                                             Method     bool Equals(System.Object obj)                        
execCommand                                         Method     bool execCommand(string cmdID, bool showUI, System.Ob...
execCommandShowHelp                                 Method     bool execCommandShowHelp(string cmdID), bool DispHTML...
FireEvent                                         Method     bool FireEvent(string bstrEventName, [ref] System.Obj...
focus                                             Method     void focus(), void DispHTMLDocument.focus(), void IHT...
getElementById                                     Method     mshtml.IHTMLElement, Microsoft.mshtml, Version=7.0.33...
getElementsByName                                 Method     mshtml.IHTMLElementCollection, Microsoft.mshtml, Vers...
getElementsByTagName                                Method     mshtml.IHTMLElementCollection, Microsoft.mshtml, Vers...
GetHashCode                                         Method     int GetHashCode()                                    
GetLifetimeService                                 Method     System.Object GetLifetimeService()                    
GetType                                             Method     type GetType()                                        
hasChildNodes                                     Method     bool hasChildNodes(), bool DispHTMLDocument.hasChildN...
hasFocus                                            Method     bool hasFocus(), bool DispHTMLDocument.hasFocus(), bo...
HTMLDocumentEvents2_Event_add_onactivate            Method     void HTMLDocumentEvents2_Event_add_onactivate(mshtml....
HTMLDocumentEvents2_Event_add_onafterupdate         Method     void HTMLDocumentEvents2_Event_add_onafterupdate(msht...
HTMLDocumentEvents2_Event_add_onbeforeactivate     Method     void HTMLDocumentEvents2_Event_add_onbeforeactivate(m...
HTMLDocumentEvents2_Event_add_onbeforedeactivate    Method     void HTMLDocumentEvents2_Event_add_onbeforedeactivate...
HTMLDocumentEvents2_Event_add_onbeforeeditfocus     Method     void HTMLDocumentEvents2_Event_add_onbeforeeditfocus(...
HTMLDocumentEvents2_Event_add_onbeforeupdate        Method     void HTMLDocumentEvents2_Event_add_onbeforeupdate(msh...
HTMLDocumentEvents2_Event_add_oncellchange         Method     void HTMLDocumentEvents2_Event_add_oncellchange(mshtm...
HTMLDocumentEvents2_Event_add_onclick             Method     void HTMLDocumentEvents2_Event_add_onclick(mshtml.HTM...
HTMLDocumentEvents2_Event_add_oncontextmenu         Method     void HTMLDocumentEvents2_Event_add_oncontextmenu(msht...
HTMLDocumentEvents2_Event_add_oncontrolselect     Method     void HTMLDocumentEvents2_Event_add_oncontrolselect(ms...
HTMLDocumentEvents2_Event_add_ondataavailable     Method     void HTMLDocumentEvents2_Event_add_ondataavailable(ms...
HTMLDocumentEvents2_Event_add_ondatasetchanged     Method     void HTMLDocumentEvents2_Event_add_ondatasetchanged(m...
HTMLDocumentEvents2_Event_add_ondatasetcomplete     Method     void HTMLDocumentEvents2_Event_add_ondatasetcomplete(...
HTMLDocumentEvents2_Event_add_ondblclick            Method     void HTMLDocumentEvents2_Event_add_ondblclick(mshtml....
HTMLDocumentEvents2_Event_add_ondeactivate         Method     void HTMLDocumentEvents2_Event_add_ondeactivate(mshtm...
HTMLDocumentEvents2_Event_add_ondragstart         Method     void HTMLDocumentEvents2_Event_add_ondragstart(mshtml...
HTMLDocumentEvents2_Event_add_onerrorupdate         Method     void HTMLDocumentEvents2_Event_add_onerrorupdate(msht...
HTMLDocumentEvents2_Event_add_onfocusin             Method     void HTMLDocumentEvents2_Event_add_onfocusin(mshtml.H...
HTMLDocumentEvents2_Event_add_onfocusout            Method     void HTMLDocumentEvents2_Event_add_onfocusout(mshtml....
HTMLDocumentEvents2_Event_add_onhelp                Method     void HTMLDocumentEvents2_Event_add_onhelp(mshtml.HTML...
HTMLDocumentEvents2_Event_add_onkeydown             Method     void HTMLDocumentEvents2_Event_add_onkeydown(mshtml.H...
HTMLDocumentEvents2_Event_add_onkeypress            Method     void HTMLDocumentEvents2_Event_add_onkeypress(mshtml....
HTMLDocumentEvents2_Event_add_onkeyup             Method     void HTMLDocumentEvents2_Event_add_onkeyup(mshtml.HTM...
HTMLDocumentEvents2_Event_add_onmousedown         Method     void HTMLDocumentEvents2_Event_add_onmousedown(mshtml...
HTMLDocumentEvents2_Event_add_onmousemove         Method     void HTMLDocumentEvents2_Event_add_onmousemove(mshtml...
HTMLDocumentEvents2_Event_add_onmouseout            Method     void HTMLDocumentEvents2_Event_add_onmouseout(mshtml....
HTMLDocumentEvents2_Event_add_onmouseover         Method     void HTMLDocumentEvents2_Event_add_onmouseover(mshtml...
HTMLDocumentEvents2_Event_add_onmouseup             Method     void HTMLDocumentEvents2_Event_add_onmouseup(mshtml.H...
HTMLDocumentEvents2_Event_add_onmousewheel         Method     void HTMLDocumentEvents2_Event_add_onmousewheel(mshtm...
HTMLDocumentEvents2_Event_add_onpropertychange     Method     void HTMLDocumentEvents2_Event_add_onpropertychange(m...
HTMLDocumentEvents2_Event_add_onreadystatechange    Method     void HTMLDocumentEvents2_Event_add_onreadystatechange...
HTMLDocumentEvents2_Event_add_onrowenter            Method     void HTMLDocumentEvents2_Event_add_onrowenter(mshtml....
HTMLDocumentEvents2_Event_add_onrowexit             Method     void HTMLDocumentEvents2_Event_add_onrowexit(mshtml.H...
HTMLDocumentEvents2_Event_add_onrowsdelete         Method     void HTMLDocumentEvents2_Event_add_onrowsdelete(mshtm...
HTMLDocumentEvents2_Event_add_onrowsinserted        Method     void HTMLDocumentEvents2_Event_add_onrowsinserted(msh...
HTMLDocumentEvents2_Event_add_onselectionchange     Method     void HTMLDocumentEvents2_Event_add_onselectionchange(...
HTMLDocumentEvents2_Event_add_onselectstart         Method     void HTMLDocumentEvents2_Event_add_onselectstart(msht...
HTMLDocumentEvents2_Event_add_onstop                Method     void HTMLDocumentEvents2_Event_add_onstop(mshtml.HTML...
HTMLDocumentEvents2_Event_remove_onactivate         Method     void HTMLDocumentEvents2_Event_remove_onactivate(msht...
HTMLDocumentEvents2_Event_remove_onafterupdate     Method     void HTMLDocumentEvents2_Event_remove_onafterupdate(m...
HTMLDocumentEvents2_Event_remove_onbeforeactivate Method     void HTMLDocumentEvents2_Event_remove_onbeforeactivat...
HTMLDocumentEvents2_Event_remove_onbeforedeactivate Method     void HTMLDocumentEvents2_Event_remove_onbeforedeactiv...
HTMLDocumentEvents2_Event_remove_onbeforeeditfocus Method     void HTMLDocumentEvents2_Event_remove_onbeforeeditfoc...
HTMLDocumentEvents2_Event_remove_onbeforeupdate     Method     void HTMLDocumentEvents2_Event_remove_onbeforeupdate(...
HTMLDocumentEvents2_Event_remove_oncellchange     Method     void HTMLDocumentEvents2_Event_remove_oncellchange(ms...
HTMLDocumentEvents2_Event_remove_onclick            Method     void HTMLDocumentEvents2_Event_remove_onclick(mshtml....
HTMLDocumentEvents2_Event_remove_oncontextmenu     Method     void HTMLDocumentEvents2_Event_remove_oncontextmenu(m...
HTMLDocumentEvents2_Event_remove_oncontrolselect    Method     void HTMLDocumentEvents2_Event_remove_oncontrolselect...
HTMLDocumentEvents2_Event_remove_ondataavailable    Method     void HTMLDocumentEvents2_Event_remove_ondataavailable...
HTMLDocumentEvents2_Event_remove_ondatasetchanged Method     void HTMLDocumentEvents2_Event_remove_ondatasetchange...
HTMLDocumentEvents2_Event_remove_ondatasetcomplete Method     void HTMLDocumentEvents2_Event_remove_ondatasetcomple...
HTMLDocumentEvents2_Event_remove_ondblclick         Method     void HTMLDocumentEvents2_Event_remove_ondblclick(msht...
HTMLDocumentEvents2_Event_remove_ondeactivate     Method     void HTMLDocumentEvents2_Event_remove_ondeactivate(ms...
HTMLDocumentEvents2_Event_remove_ondragstart        Method     void HTMLDocumentEvents2_Event_remove_ondragstart(msh...
HTMLDocumentEvents2_Event_remove_onerrorupdate     Method     void HTMLDocumentEvents2_Event_remove_onerrorupdate(m...
HTMLDocumentEvents2_Event_remove_onfocusin         Method     void HTMLDocumentEvents2_Event_remove_onfocusin(mshtm...
HTMLDocumentEvents2_Event_remove_onfocusout         Method     void HTMLDocumentEvents2_Event_remove_onfocusout(msht...
HTMLDocumentEvents2_Event_remove_onhelp             Method     void HTMLDocumentEvents2_Event_remove_onhelp(mshtml.H...
HTMLDocumentEvents2_Event_remove_onkeydown         Method     void HTMLDocumentEvents2_Event_remove_onkeydown(mshtm...
HTMLDocumentEvents2_Event_remove_onkeypress         Method     void HTMLDocumentEvents2_Event_remove_onkeypress(msht...
HTMLDocumentEvents2_Event_remove_onkeyup            Method     void HTMLDocumentEvents2_Event_remove_onkeyup(mshtml....
HTMLDocumentEvents2_Event_remove_onmousedown        Method     void HTMLDocumentEvents2_Event_remove_onmousedown(msh...
HTMLDocumentEvents2_Event_remove_onmousemove        Method     void HTMLDocumentEvents2_Event_remove_onmousemove(msh...
HTMLDocumentEvents2_Event_remove_onmouseout         Method     void HTMLDocumentEvents2_Event_remove_onmouseout(msht...
HTMLDocumentEvents2_Event_remove_onmouseover        Method     void HTMLDocumentEvents2_Event_remove_onmouseover(msh...
HTMLDocumentEvents2_Event_remove_onmouseup         Method     void HTMLDocumentEvents2_Event_remove_onmouseup(mshtm...
HTMLDocumentEvents2_Event_remove_onmousewheel     Method     void HTMLDocumentEvents2_Event_remove_onmousewheel(ms...
HTMLDocumentEvents2_Event_remove_onpropertychange Method     void HTMLDocumentEvents2_Event_remove_onpropertychang...
HTMLDocumentEvents2_Event_remove_onreadystatechange Method     void HTMLDocumentEvents2_Event_remove_onreadystatecha...
HTMLDocumentEvents2_Event_remove_onrowenter         Method     void HTMLDocumentEvents2_Event_remove_onrowenter(msht...
HTMLDocumentEvents2_Event_remove_onrowexit         Method     void HTMLDocumentEvents2_Event_remove_onrowexit(mshtm...
HTMLDocumentEvents2_Event_remove_onrowsdelete     Method     void HTMLDocumentEvents2_Event_remove_onrowsdelete(ms...
HTMLDocumentEvents2_Event_remove_onrowsinserted     Method     void HTMLDocumentEvents2_Event_remove_onrowsinserted(...
HTMLDocumentEvents2_Event_remove_onselectionchange Method     void HTMLDocumentEvents2_Event_remove_onselectionchan...
HTMLDocumentEvents2_Event_remove_onselectstart     Method     void HTMLDocumentEvents2_Event_remove_onselectstart(m...
HTMLDocumentEvents2_Event_remove_onstop             Method     void HTMLDocumentEvents2_Event_remove_onstop(mshtml.H...
IHTMLDocument2_clear                                Method     void IHTMLDocument2_clear()                            
IHTMLDocument2_close                                Method     void IHTMLDocument2_close()                            
IHTMLDocument2_createElement                        Method     mshtml.IHTMLElement, Microsoft.mshtml, Version=7.0.33...
IHTMLDocument2_createStyleSheet                     Method     mshtml.IHTMLStyleSheet IHTMLDocument2_createStyleShee...
IHTMLDocument2_elementFromPoint                     Method     mshtml.IHTMLElement, Microsoft.mshtml, Version=7.0.33...
IHTMLDocument2_execCommand                         Method     bool IHTMLDocument2_execCommand(string cmdID, bool sh...
IHTMLDocument2_execCommandShowHelp                 Method     bool IHTMLDocument2_execCommandShowHelp(string cmdID)
IHTMLDocument2_open                                 Method     System.Object IHTMLDocument2_open(string url, System....
IHTMLDocument2_queryCommandEnabled                 Method     bool IHTMLDocument2_queryCommandEnabled(string cmdID)
IHTMLDocument2_queryCommandIndeterm                 Method     bool IHTMLDocument2_queryCommandIndeterm(string cmdID)
IHTMLDocument2_queryCommandState                    Method     bool IHTMLDocument2_queryCommandState(string cmdID)    
IHTMLDocument2_queryCommandSupported                Method     bool IHTMLDocument2_queryCommandSupported(string cmdID)
IHTMLDocument2_queryCommandText                     Method     string IHTMLDocument2_queryCommandText(string cmdID)    
IHTMLDocument2_queryCommandValue                    Method     System.Object IHTMLDocument2_queryCommandValue(string...
IHTMLDocument2_toString                             Method     string IHTMLDocument2_toString()                        
IHTMLDocument2_write                                Method     void IHTMLDocument2_write(Params System.Object[] psar...
IHTMLDocument2_writeln                             Method     void IHTMLDocument2_writeln(Params System.Object[] ps...
IHTMLDocument3_attachEvent                         Method     bool IHTMLDocument3_attachEvent(string event, System....
IHTMLDocument3_createDocumentFragment             Method     mshtml.IHTMLDocument2, Microsoft.mshtml, Version=7.0....
IHTMLDocument3_createTextNode                     Method     mshtml.IHTMLDOMNode, Microsoft.mshtml, Version=7.0.33...
IHTMLDocument3_detachEvent                         Method     void IHTMLDocument3_detachEvent(string event, System....
IHTMLDocument3_getElementById                     Method     mshtml.IHTMLElement, Microsoft.mshtml, Version=7.0.33...
IHTMLDocument3_getElementsByName                    Method     mshtml.IHTMLElementCollection, Microsoft.mshtml, Vers...
IHTMLDocument3_getElementsByTagName                 Method     mshtml.IHTMLElementCollection, Microsoft.mshtml, Vers...
IHTMLDocument3_recalc                             Method     void IHTMLDocument3_recalc(bool fForce)                
IHTMLDocument3_releaseCapture                     Method     void IHTMLDocument3_releaseCapture()                    
IHTMLDocument4_createDocumentFromUrl                Method     mshtml.IHTMLDocument2, Microsoft.mshtml, Version=7.0....
IHTMLDocument4_CreateEventObject                    Method     mshtml.IHTMLEventObj, Microsoft.mshtml, Version=7.0.3...
IHTMLDocument4_createRenderStyle                    Method     mshtml.IHTMLRenderStyle IHTMLDocument4_createRenderSt...
IHTMLDocument4_FireEvent                            Method     bool IHTMLDocument4_FireEvent(string bstrEventName, [...
IHTMLDocument4_focus                                Method     void IHTMLDocument4_focus()                            
IHTMLDocument4_hasFocus                             Method     bool IHTMLDocument4_hasFocus()                        
IHTMLDocument5_createAttribute                     Method     mshtml.IHTMLDOMAttribute IHTMLDocument5_createAttribu...
IHTMLDocument5_createComment                        Method     mshtml.IHTMLDOMNode, Microsoft.mshtml, Version=7.0.33...
IHTMLDOMNode_appendChild                            Method     mshtml.IHTMLDOMNode, Microsoft.mshtml, Version=7.0.33...
IHTMLDOMNode_cloneNode                             Method     mshtml.IHTMLDOMNode, Microsoft.mshtml, Version=7.0.33...
IHTMLDOMNode_hasChildNodes                         Method     bool IHTMLDOMNode_hasChildNodes()                    
IHTMLDOMNode_insertBefore                         Method     mshtml.IHTMLDOMNode, Microsoft.mshtml, Version=7.0.33...
IHTMLDOMNode_removeChild                            Method     mshtml.IHTMLDOMNode, Microsoft.mshtml, Version=7.0.33...
IHTMLDOMNode_removeNode                             Method     mshtml.IHTMLDOMNode, Microsoft.mshtml, Version=7.0.33...
IHTMLDOMNode_replaceChild                         Method     mshtml.IHTMLDOMNode, Microsoft.mshtml, Version=7.0.33...
IHTMLDOMNode_replaceNode                            Method     mshtml.IHTMLDOMNode, Microsoft.mshtml, Version=7.0.33...
IHTMLDOMNode_swapNode                             Method     mshtml.IHTMLDOMNode, Microsoft.mshtml, Version=7.0.33...
InitializeLifetimeService                         Method     System.Object InitializeLifetimeService()            
insertBefore                                        Method     mshtml.IHTMLDOMNode, Microsoft.mshtml, Version=7.0.33...
open                                                Method     System.Object open(string url, System.Object name, Sy...
queryCommandEnabled                                 Method     bool queryCommandEnabled(string cmdID), bool DispHTML...
queryCommandIndeterm                                Method     bool queryCommandIndeterm(string cmdID), bool DispHTM...
queryCommandState                                 Method     bool queryCommandState(string cmdID), bool DispHTMLDo...
queryCommandSupported                             Method     bool queryCommandSupported(string cmdID), bool DispHT...
queryCommandText                                    Method     string queryCommandText(string cmdID), string DispHTM...
queryCommandValue                                 Method     System.Object queryCommandValue(string cmdID), System...
recalc                                             Method     void recalc(bool fForce), void DispHTMLDocument.recal...
releaseCapture                                     Method     void releaseCapture(), void DispHTMLDocument.releaseC...
removeChild                                         Method     mshtml.IHTMLDOMNode, Microsoft.mshtml, Version=7.0.33...
removeNode                                         Method     mshtml.IHTMLDOMNode, Microsoft.mshtml, Version=7.0.33...
remove_onactivate                                 Method     void remove_onactivate(mshtml.HTMLDocumentEvents_onac...
remove_onafterupdate                                Method     void remove_onafterupdate(mshtml.HTMLDocumentEvents_o...
remove_onbeforeactivate                             Method     void remove_onbeforeactivate(mshtml.HTMLDocumentEvent...
remove_onbeforedeactivate                         Method     void remove_onbeforedeactivate(mshtml.HTMLDocumentEve...
remove_onbeforeeditfocus                            Method     void remove_onbeforeeditfocus(mshtml.HTMLDocumentEven...
remove_onbeforeupdate                             Method     void remove_onbeforeupdate(mshtml.HTMLDocumentEvents_...
remove_oncellchange                                 Method     void remove_oncellchange(mshtml.HTMLDocumentEvents_on...
remove_onclick                                     Method     void remove_onclick(mshtml.HTMLDocumentEvents_onclick...
remove_oncontextmenu                                Method     void remove_oncontextmenu(mshtml.HTMLDocumentEvents_o...
remove_oncontrolselect                             Method     void remove_oncontrolselect(mshtml.HTMLDocumentEvents...
remove_ondataavailable                             Method     void remove_ondataavailable(mshtml.HTMLDocumentEvents...
remove_ondatasetchanged                             Method     void remove_ondatasetchanged(mshtml.HTMLDocumentEvent...
remove_ondatasetcomplete                            Method     void remove_ondatasetcomplete(mshtml.HTMLDocumentEven...
remove_ondblclick                                 Method     void remove_ondblclick(mshtml.HTMLDocumentEvents_ondb...
remove_ondeactivate                                 Method     void remove_ondeactivate(mshtml.HTMLDocumentEvents_on...
remove_ondragstart                                 Method     void remove_ondragstart(mshtml.HTMLDocumentEvents_ond...
remove_onerrorupdate                                Method     void remove_onerrorupdate(mshtml.HTMLDocumentEvents_o...
remove_onfocusin                                    Method     void remove_onfocusin(mshtml.HTMLDocumentEvents_onfoc...
remove_onfocusout                                 Method     void remove_onfocusout(mshtml.HTMLDocumentEvents_onfo...
remove_onhelp                                     Method     void remove_onhelp(mshtml.HTMLDocumentEvents_onhelpEv...
remove_onkeydown                                    Method     void remove_onkeydown(mshtml.HTMLDocumentEvents_onkey...
remove_onkeypress                                 Method     void remove_onkeypress(mshtml.HTMLDocumentEvents_onke...
remove_onkeyup                                     Method     void remove_onkeyup(mshtml.HTMLDocumentEvents_onkeyup...
remove_onmousedown                                 Method     void remove_onmousedown(mshtml.HTMLDocumentEvents_onm...
remove_onmousemove                                 Method     void remove_onmousemove(mshtml.HTMLDocumentEvents_onm...
remove_onmouseout                                 Method     void remove_onmouseout(mshtml.HTMLDocumentEvents_onmo...
remove_onmouseover                                 Method     void remove_onmouseover(mshtml.HTMLDocumentEvents_onm...
remove_onmouseup                                    Method     void remove_onmouseup(mshtml.HTMLDocumentEvents_onmou...
remove_onmousewheel                                 Method     void remove_onmousewheel(mshtml.HTMLDocumentEvents_on...
remove_onpropertychange                             Method     void remove_onpropertychange(mshtml.HTMLDocumentEvent...
remove_onreadystatechange                         Method     void remove_onreadystatechange(mshtml.HTMLDocumentEve...
remove_onrowenter                                 Method     void remove_onrowenter(mshtml.HTMLDocumentEvents_onro...
remove_onrowexit                                    Method     void remove_onrowexit(mshtml.HTMLDocumentEvents_onrow...
remove_onrowsdelete                                 Method     void remove_onrowsdelete(mshtml.HTMLDocumentEvents_on...
remove_onrowsinserted                             Method     void remove_onrowsinserted(mshtml.HTMLDocumentEvents_...
remove_onselectionchange                            Method     void remove_onselectionchange(mshtml.HTMLDocumentEven...
remove_onselectstart                                Method     void remove_onselectstart(mshtml.HTMLDocumentEvents_o...
remove_onstop                                     Method     void remove_onstop(mshtml.HTMLDocumentEvents_onstopEv...
replaceChild                                        Method     mshtml.IHTMLDOMNode, Microsoft.mshtml, Version=7.0.33...
replaceNode                                         Method     mshtml.IHTMLDOMNode, Microsoft.mshtml, Version=7.0.33...
swapNode                                            Method     mshtml.IHTMLDOMNode, Microsoft.mshtml, Version=7.0.33...
toString                                            Method     string toString(), string DispHTMLDocument.toString()...
write                                             Method     void write(Params System.Object[] psarray), void Disp...
writeln                                             Method     void writeln(Params System.Object[] psarray), void Di...
activeElement                                     Property mshtml.IHTMLElement, Microsoft.mshtml, Version=7.0.33...
alinkColor                                         Property System.Object alinkColor {get;set;}                    
all                                                 Property mshtml.IHTMLElementCollection, Microsoft.mshtml, Vers...
anchors                                             Property mshtml.IHTMLElementCollection, Microsoft.mshtml, Vers...
applets                                             Property mshtml.IHTMLElementCollection, Microsoft.mshtml, Vers...
attributes                                         Property System.Object attributes {get;}                        
baseUrl                                             Property string baseUrl {get;set;}                            
bgColor                                             Property System.Object bgColor {get;set;}                        
body                                                Property mshtml.IHTMLElement, Microsoft.mshtml, Version=7.0.33...
charset                                             Property string charset {get;set;}                            
childNodes                                         Property System.Object childNodes {get;}                        
compatMode                                         Property string compatMode {get;}                                
cookie                                             Property string cookie {get;set;}                                
defaultCharset                                     Property string defaultCharset {get;set;}                        
designMode                                         Property string designMode {get;set;}                            
dir                                                 Property string dir {get;set;}                                
doctype                                             Property mshtml.IHTMLDOMNode, Microsoft.mshtml, Version=7.0.33...
documentElement                                     Property mshtml.IHTMLElement, Microsoft.mshtml, Version=7.0.33...
domain                                             Property string domain {get;set;}                                
embeds                                             Property mshtml.IHTMLElementCollection, Microsoft.mshtml, Vers...
enableDownload                                     Property bool enableDownload {get;set;}                        
expando                                             Property bool expando {get;set;}                                
fgColor                                             Property System.Object fgColor {get;set;}                        
fileCreatedDate                                     Property string fileCreatedDate {get;}                        
fileModifiedDate                                    Property string fileModifiedDate {get;}                        
fileSize                                            Property string fileSize {get;}                                
fileUpdatedDate                                     Property string fileUpdatedDate {get;}                        
firstChild                                         Property mshtml.IHTMLDOMNode, Microsoft.mshtml, Version=7.0.33...
forms                                             Property mshtml.IHTMLElementCollection, Microsoft.mshtml, Vers...
frames                                             Property mshtml.FramesCollection frames {get;}                
IHTMLDocument2_activeElement                        Property mshtml.IHTMLElement, Microsoft.mshtml, Version=7.0.33...
IHTMLDocument2_alinkColor                         Property System.Object IHTMLDocument2_alinkColor {get;set;}    
IHTMLDocument2_all                                 Property mshtml.IHTMLElementCollection, Microsoft.mshtml, Vers...
IHTMLDocument2_anchors                             Property mshtml.IHTMLElementCollection, Microsoft.mshtml, Vers...
IHTMLDocument2_applets                             Property mshtml.IHTMLElementCollection, Microsoft.mshtml, Vers...
IHTMLDocument2_bgColor                             Property System.Object IHTMLDocument2_bgColor {get;set;}        
IHTMLDocument2_body                                 Property mshtml.IHTMLElement, Microsoft.mshtml, Version=7.0.33...
IHTMLDocument2_charset                             Property string IHTMLDocument2_charset {get;set;}                
IHTMLDocument2_cookie                             Property string IHTMLDocument2_cookie {get;set;}                
IHTMLDocument2_defaultCharset                     Property string IHTMLDocument2_defaultCharset {get;set;}        
IHTMLDocument2_designMode                         Property string IHTMLDocument2_designMode {get;set;}            
IHTMLDocument2_domain                             Property string IHTMLDocument2_domain {get;set;}                
IHTMLDocument2_embeds                             Property mshtml.IHTMLElementCollection, Microsoft.mshtml, Vers...
IHTMLDocument2_expando                             Property bool IHTMLDocument2_expando {get;set;}                
IHTMLDocument2_fgColor                             Property System.Object IHTMLDocument2_fgColor {get;set;}        
IHTMLDocument2_fileCreatedDate                     Property string IHTMLDocument2_fileCreatedDate {get;}            
IHTMLDocument2_fileModifiedDate                     Property string IHTMLDocument2_fileModifiedDate {get;}        
IHTMLDocument2_fileSize                             Property string IHTMLDocument2_fileSize {get;}                
IHTMLDocument2_fileUpdatedDate                     Property string IHTMLDocument2_fileUpdatedDate {get;}            
IHTMLDocument2_forms                                Property mshtml.IHTMLElementCollection, Microsoft.mshtml, Vers...
IHTMLDocument2_frames                             Property mshtml.FramesCollection IHTMLDocument2_frames {get;}    
IHTMLDocument2_images                             Property mshtml.IHTMLElementCollection, Microsoft.mshtml, Vers...
IHTMLDocument2_lastModified                         Property string IHTMLDocument2_lastModified {get;}            
IHTMLDocument2_linkColor                            Property System.Object IHTMLDocument2_linkColor {get;set;}    
IHTMLDocument2_links                                Property mshtml.IHTMLElementCollection, Microsoft.mshtml, Vers...
IHTMLDocument2_location                             Property mshtml.HTMLLocation IHTMLDocument2_location {get;}    
IHTMLDocument2_mimeType                             Property string IHTMLDocument2_mimeType {get;}                
IHTMLDocument2_nameProp                             Property string IHTMLDocument2_nameProp {get;}                
IHTMLDocument2_onafterupdate                        Property System.Object IHTMLDocument2_onafterupdate {get;set;}
IHTMLDocument2_onbeforeupdate                     Property System.Object IHTMLDocument2_onbeforeupdate {get;set;}
IHTMLDocument2_onclick                             Property System.Object IHTMLDocument2_onclick {get;set;}        
IHTMLDocument2_ondblclick                         Property System.Object IHTMLDocument2_ondblclick {get;set;}    
IHTMLDocument2_ondragstart                         Property System.Object IHTMLDocument2_ondragstart {get;set;}    
IHTMLDocument2_onerrorupdate                        Property System.Object IHTMLDocument2_onerrorupdate {get;set;}
IHTMLDocument2_onhelp                             Property System.Object IHTMLDocument2_onhelp {get;set;}        
IHTMLDocument2_onkeydown                            Property System.Object IHTMLDocument2_onkeydown {get;set;}    
IHTMLDocument2_onkeypress                         Property System.Object IHTMLDocument2_onkeypress {get;set;}    
IHTMLDocument2_onkeyup                             Property System.Object IHTMLDocument2_onkeyup {get;set;}        
IHTMLDocument2_onmousedown                         Property System.Object IHTMLDocument2_onmousedown {get;set;}    
IHTMLDocument2_onmousemove                         Property System.Object IHTMLDocument2_onmousemove {get;set;}    
IHTMLDocument2_onmouseout                         Property System.Object IHTMLDocument2_onmouseout {get;set;}    
IHTMLDocument2_onmouseover                         Property System.Object IHTMLDocument2_onmouseover {get;set;}    
IHTMLDocument2_onmouseup                            Property System.Object IHTMLDocument2_onmouseup {get;set;}    
IHTMLDocument2_onreadystatechange                 Property System.Object IHTMLDocument2_onreadystatechange {get;...
IHTMLDocument2_onrowenter                         Property System.Object IHTMLDocument2_onrowenter {get;set;}    
IHTMLDocument2_onrowexit                            Property System.Object IHTMLDocument2_onrowexit {get;set;}    
IHTMLDocument2_onselectstart                        Property System.Object IHTMLDocument2_onselectstart {get;set;}
IHTMLDocument2_parentWindow                         Property mshtml.IHTMLWindow2 IHTMLDocument2_parentWindow {get;}
IHTMLDocument2_plugins                             Property mshtml.IHTMLElementCollection, Microsoft.mshtml, Vers...
IHTMLDocument2_protocol                             Property string IHTMLDocument2_protocol {get;}                
IHTMLDocument2_readyState                         Property string IHTMLDocument2_readyState {get;}                
IHTMLDocument2_referrer                             Property string IHTMLDocument2_referrer {get;}                
IHTMLDocument2_Script                             Property System.Object IHTMLDocument2_Script {get;}            
IHTMLDocument2_scripts                             Property mshtml.IHTMLElementCollection, Microsoft.mshtml, Vers...
IHTMLDocument2_security                             Property string IHTMLDocument2_security {get;}                
IHTMLDocument2_selection                            Property mshtml.IHTMLSelectionObject IHTMLDocument2_selection ...
IHTMLDocument2_styleSheets                         Property mshtml.HTMLStyleSheetsCollection IHTMLDocument2_style...
IHTMLDocument2_title                                Property string IHTMLDocument2_title {get;set;}                
IHTMLDocument2_url                                 Property string IHTMLDocument2_url {get;set;}                    
IHTMLDocument2_vlinkColor                         Property System.Object IHTMLDocument2_vlinkColor {get;set;}    
IHTMLDocument3_baseUrl                             Property string IHTMLDocument3_baseUrl {get;set;}                
IHTMLDocument3_childNodes                         Property System.Object IHTMLDocument3_childNodes {get;}        
IHTMLDocument3_dir                                 Property string IHTMLDocument3_dir {get;set;}                    
IHTMLDocument3_documentElement                     Property mshtml.IHTMLElement, Microsoft.mshtml, Version=7.0.33...
IHTMLDocument3_enableDownload                     Property bool IHTMLDocument3_enableDownload {get;set;}        
IHTMLDocument3_inheritStyleSheets                 Property bool IHTMLDocument3_inheritStyleSheets {get;set;}    
IHTMLDocument3_onbeforeeditfocus                    Property System.Object IHTMLDocument3_onbeforeeditfocus {get;s...
IHTMLDocument3_oncellchange                         Property System.Object IHTMLDocument3_oncellchange {get;set;}    
IHTMLDocument3_oncontextmenu                        Property System.Object IHTMLDocument3_oncontextmenu {get;set;}
IHTMLDocument3_ondataavailable                     Property System.Object IHTMLDocument3_ondataavailable {get;set;}
IHTMLDocument3_ondatasetchanged                     Property System.Object IHTMLDocument3_ondatasetchanged {get;set;}
IHTMLDocument3_ondatasetcomplete                    Property System.Object IHTMLDocument3_ondatasetcomplete {get;s...
IHTMLDocument3_onpropertychange                     Property System.Object IHTMLDocument3_onpropertychange {get;set;}
IHTMLDocument3_onrowsdelete                         Property System.Object IHTMLDocument3_onrowsdelete {get;set;}    
IHTMLDocument3_onrowsinserted                     Property System.Object IHTMLDocument3_onrowsinserted {get;set;}
IHTMLDocument3_onstop                             Property System.Object IHTMLDocument3_onstop {get;set;}        
IHTMLDocument3_parentDocument                     Property mshtml.IHTMLDocument2, Microsoft.mshtml, Version=7.0....
IHTMLDocument3_uniqueID                             Property string IHTMLDocument3_uniqueID {get;}                
IHTMLDocument4_media                                Property string IHTMLDocument4_media {get;set;}                
IHTMLDocument4_namespaces                         Property System.Object IHTMLDocument4_namespaces {get;}        
IHTMLDocument4_oncontrolselect                     Property System.Object IHTMLDocument4_oncontrolselect {get;set;}
IHTMLDocument4_onselectionchange                    Property System.Object IHTMLDocument4_onselectionchange {get;s...
IHTMLDocument4_URLUnencoded                         Property string IHTMLDocument4_URLUnencoded {get;}            
IHTMLDocument5_compatMode                         Property string IHTMLDocument5_compatMode {get;}                
IHTMLDocument5_doctype                             Property mshtml.IHTMLDOMNode, Microsoft.mshtml, Version=7.0.33...
IHTMLDocument5_implementation                     Property mshtml.IHTMLDOMImplementation IHTMLDocument5_implemen...
IHTMLDocument5_onactivate                         Property System.Object IHTMLDocument5_onactivate {get;set;}    
IHTMLDocument5_onbeforeactivate                     Property System.Object IHTMLDocument5_onbeforeactivate {get;set;}
IHTMLDocument5_onbeforedeactivate                 Property System.Object IHTMLDocument5_onbeforedeactivate {get;...
IHTMLDocument5_ondeactivate                         Property System.Object IHTMLDocument5_ondeactivate {get;set;}    
IHTMLDocument5_onfocusin                            Property System.Object IHTMLDocument5_onfocusin {get;set;}    
IHTMLDocument5_onfocusout                         Property System.Object IHTMLDocument5_onfocusout {get;set;}    
IHTMLDocument5_onmousewheel                         Property System.Object IHTMLDocument5_onmousewheel {get;set;}    
IHTMLDOMNode2_ownerDocument                         Property System.Object IHTMLDOMNode2_ownerDocument {get;}        
IHTMLDOMNode_attributes                             Property System.Object IHTMLDOMNode_attributes {get;}            
IHTMLDOMNode_childNodes                             Property System.Object IHTMLDOMNode_childNodes {get;}            
IHTMLDOMNode_firstChild                             Property mshtml.IHTMLDOMNode, Microsoft.mshtml, Version=7.0.33...
IHTMLDOMNode_lastChild                             Property mshtml.IHTMLDOMNode, Microsoft.mshtml, Version=7.0.33...
IHTMLDOMNode_nextSibling                            Property mshtml.IHTMLDOMNode, Microsoft.mshtml, Version=7.0.33...
IHTMLDOMNode_nodeName                             Property string IHTMLDOMNode_nodeName {get;}                    
IHTMLDOMNode_nodeType                             Property int IHTMLDOMNode_nodeType {get;}                        
IHTMLDOMNode_nodeValue                             Property System.Object IHTMLDOMNode_nodeValue {get;set;}        
IHTMLDOMNode_parentNode                             Property mshtml.IHTMLDOMNode, Microsoft.mshtml, Version=7.0.33...
IHTMLDOMNode_previousSibling                        Property mshtml.IHTMLDOMNode, Microsoft.mshtml, Version=7.0.33...
images                                             Property mshtml.IHTMLElementCollection, Microsoft.mshtml, Vers...
implementation                                     Property mshtml.IHTMLDOMImplementation implementation {get;}    
inheritStyleSheets                                 Property bool inheritStyleSheets {get;set;}                    
lastChild                                         Property mshtml.IHTMLDOMNode, Microsoft.mshtml, Version=7.0.33...
lastModified                                        Property string lastModified {get;}                            
linkColor                                         Property System.Object linkColor {get;set;}                    
links                                             Property mshtml.IHTMLElementCollection, Microsoft.mshtml, Vers...
location                                            Property mshtml.HTMLLocation location {get;}                    
media                                             Property string media {get;set;}                                
mimeType                                            Property string mimeType {get;}                                
nameProp                                            Property string nameProp {get;}                                
namespaces                                         Property System.Object namespaces {get;}                        
nextSibling                                         Property mshtml.IHTMLDOMNode, Microsoft.mshtml, Version=7.0.33...
nodeName                                            Property string nodeName {get;}                                
nodeType                                            Property int nodeType {get;}                                    
nodeValue                                         Property System.Object nodeValue {get;set;}                    
onactivate                                         Property System.Object onactivate {get;set;}                    
onafterupdate                                     Property System.Object onafterupdate {get;set;}                
onbeforeactivate                                    Property System.Object onbeforeactivate {get;set;}            
onbeforedeactivate                                 Property System.Object onbeforedeactivate {get;set;}            
onbeforeeditfocus                                 Property System.Object onbeforeeditfocus {get;set;}            
onbeforeupdate                                     Property System.Object onbeforeupdate {get;set;}                
oncellchange                                        Property System.Object oncellchange {get;set;}                
onclick                                             Property System.Object onclick {get;set;}                        
oncontextmenu                                     Property System.Object oncontextmenu {get;set;}                
oncontrolselect                                     Property System.Object oncontrolselect {get;set;}                
ondataavailable                                     Property System.Object ondataavailable {get;set;}                
ondatasetchanged                                    Property System.Object ondatasetchanged {get;set;}            
ondatasetcomplete                                 Property System.Object ondatasetcomplete {get;set;}            
ondblclick                                         Property System.Object ondblclick {get;set;}                    
ondeactivate                                        Property System.Object ondeactivate {get;set;}                
ondragstart                                         Property System.Object ondragstart {get;set;}                    
onerrorupdate                                     Property System.Object onerrorupdate {get;set;}                
onfocusin                                         Property System.Object onfocusin {get;set;}                    
onfocusout                                         Property System.Object onfocusout {get;set;}                    
onhelp                                             Property System.Object onhelp {get;set;}                        
onkeydown                                         Property System.Object onkeydown {get;set;}                    
onkeypress                                         Property System.Object onkeypress {get;set;}                    
onkeyup                                             Property System.Object onkeyup {get;set;}                        
onmousedown                                         Property System.Object onmousedown {get;set;}                    
onmousemove                                         Property System.Object onmousemove {get;set;}                    
onmouseout                                         Property System.Object onmouseout {get;set;}                    
onmouseover                                         Property System.Object onmouseover {get;set;}                    
onmouseup                                         Property System.Object onmouseup {get;set;}                    
onmousewheel                                        Property System.Object onmousewheel {get;set;}                
onpropertychange                                    Property System.Object onpropertychange {get;set;}            
onreadystatechange                                 Property System.Object onreadystatechange {get;set;}            
onrowenter                                         Property System.Object onrowenter {get;set;}                    
onrowexit                                         Property System.Object onrowexit {get;set;}                    
onrowsdelete                                        Property System.Object onrowsdelete {get;set;}                
onrowsinserted                                     Property System.Object onrowsinserted {get;set;}                
onselectionchange                                 Property System.Object onselectionchange {get;set;}            
onselectstart                                     Property System.Object onselectstart {get;set;}                
onstop                                             Property System.Object onstop {get;set;}                        
ownerDocument                                     Property System.Object ownerDocument {get;}                    
parentDocument                                     Property mshtml.IHTMLDocument2, Microsoft.mshtml, Version=7.0....
parentNode                                         Property mshtml.IHTMLDOMNode, Microsoft.mshtml, Version=7.0.33...
parentWindow                                        Property mshtml.IHTMLWindow2 parentWindow {get;}                
plugins                                             Property mshtml.IHTMLElementCollection, Microsoft.mshtml, Vers...
previousSibling                                     Property mshtml.IHTMLDOMNode, Microsoft.mshtml, Version=7.0.33...
protocol                                            Property string protocol {get;}                                
readyState                                         Property string readyState {get;}                                
referrer                                            Property string referrer {get;}                                
Script                                             Property System.Object Script {get;}                            
scripts                                             Property mshtml.IHTMLElementCollection, Microsoft.mshtml, Vers...
security                                            Property string security {get;}                                
selection                                         Property mshtml.IHTMLSelectionObject selection {get;}            
styleSheets                                         Property mshtml.HTMLStyleSheetsCollection styleSheets {get;}    
title                                             Property string title {get;set;}                                
uniqueID                                            Property string uniqueID {get;}                                
url                                                 Property string url {get;set;}                                
URLUnencoded                                        Property string URLUnencoded {get;}                            
vlinkColor                                         Property System.Object vlinkColor {get;set;}                    



Posted by GregorS on 9/27/2012 at 6:02 AM
I have this issue also online - the web page I want to control is on the internet. Here is the corresponding forum thread:
http://social.technet.microsoft.com/Forums/en-US/winserverpowershell/thread/b476378c-e2ed-4469-9187-f041a78305a0

Gregor
Posted by Noral Kuhlmann on 9/26/2012 at 8:56 AM
Added $IEApplication.Document | gm
Sign in to post a workaround.
Posted by Benoit Boudeville on 12/18/2012 at 5:38 AM
And voilà!

Looks like my servers don't have the MSHTML Primary Interop Assemblies installed and that's why...
I saw that someone resolved the issue after installing Office 2010, which makes sense since it includes some of the Primary Interop Assemblies that were missing... However for a server that doesn't make sense.

So, here's a workaround:

1. Copy Microsoft.html.dll from a location where it is installed (eg: from C:\Program Files(x86)\Microsoft.NET\Primary Interop Assemblies to your script's location (can be a network drive)
2. Use the Load-Assembly.ps1 script (code provided below and at: http://sdrv.ms/U6j7Wn) to load the assembly types in memory
eg: .\Load-Assembly.ps1 -Path .\microsoft.mshtml.dll

Then proceed as usual to create the IE object etc. Warning: when dealing with the write() and writeln() methods use the backward compatible methods: IHTMLDocument2_write() and IHTMLDocument2_writeln().

Cheers!!!


-- code --

# Load-Assembly.ps1
#Requires -Version 2.0

Param(
    [Parameter(Mandatory=$false, ValueFromPipeline=$true)]
    [String]
    $Path
)

Process
{
    if ( [String]::IsNullOrEmpty($Path) )
    {
        return
    }

    if ( -not (Test-Path -Path $Path -PathType Leaf) )
    {
        Write-Error "Unable to find file '$Path'."
        return
    }
    $Path = Resolve-Path -Path $Path -ErrorAction:Stop

    $fs = ([System.IO.FileInfo] (Get-Item -Path $Path)).OpenRead()
    $buffer = New-Object Byte[] $fs.Length
    $n = $fs.Read($buffer, 0, $fs.Length)
    $fs.Close()

    if ( $n -gt 0 )
    {
        [System.Reflection.Assembly]::Load($buffer)
    }
    else
    {
        Write-Warning "Cannot load an assembly from an empty file."
    }

    # Dispose some objects
    $buffer = $null
    $fs = $null
}
File Name Submitted By Submitted On File Size  
PowerShellv3-IE Issue - GM.txt (restricted) 9/26/2012 -
PowerShellv3-IE Issue - GM.txt 9/26/2012 5 KB