Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

InternetExplorer.Application visibility?

Status
Not open for further replies.
Joined
Jul 29, 2005
Messages
136
Location
PT
Hi,

I have a vbscript inside my html page. The code is like this:


set oIE = Createobject("InternetExplorer.Application")
oIE.Toolbar = false
oIE.Visible = false
oIE.Resizable = false
oIE.Navigate URL

I realize, however, that the windows is always opened, despite I set visible = false (or =0). The same code inside visual basic works fine.

Any ideia about this?

Thank you
 
>Any ideia about this?
Of what?
 
Hi,

The window is always visible... not opened. I don´t want the window visible.

Thank you
 
This is a step closer to a worm.
[tt]
set oIE = Createobject("InternetExplorer.Application")
oIE.Toolbar = false
oIE.Visible = false
oIE.Resizable = false
oIE.Navigate URL
window.opener=self
window.close
[/tt]
Your call!
 
Hello,

I understand what the goal of your code, however, that doesn´t make my window not visible, it will just close it. The problem here is that doing oIE.Visible = false in a vbscript defined inside an HTML page is not working. The created window will be visible. The same code in Visual basic works fine. I would like to understand why? Why can´t I open an invisible window using vbscript inside an html page?

Thank you
 
I see it invisible, hence I cannot answer an imaginary.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top