I'm trying to open an instance of Internet Explorer and dynamically
generate an HTA page, like such:
Set oIE = CreateObject("InternetExplorer.Application")
oIE.Visible = True
OIE.Navigate "about:blank"
Set oIEDoc = oIE.Document
oIEDoc.WriteLn "<HTML>"
oIEDoc.WriteLn "<HEAD>"
oIEDoc.WriteLn "<HTA:APPLICATION"
oIEDoc.WriteLn "MAXIMIZEBUTTON = no"
oIEDoc.WriteLn ">"
oIEDoc.WriteLn "</HEAD>"
oIEDoc.WriteLn "</HTML>"
The source shows it there, however, I don't think IE opens in a mode
to read an HTA file properly. Anyone aware of any work-arounds or
something I'm missing?
Rob
Regards,
Jean - JMST
Belgium
jm...@ibelgique.com (Reply to the group)
--
"Rob" <wyn...@xrgaming.net> a écrit dans le message de news: 192eb73.02120...@posting.google.com...
IE (iexplore.exe) doesn't recognize the HTA:APPLICATION tag...
HTAs are hosted by mshta.exe which does not expose an external automation
model comparable to InternetExplorer.Application.
--
Michael Harris
Microsoft.MVP.Scripting
Seattle WA US