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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IE Opens, but isn't visable... why?

Status
Not open for further replies.

canberrasnag

Programmer
Nov 25, 2004
19
RU
I am a beginner as you can see from my code...:(
I am using wsh. it is a .vbs file and not incorporated into an IE page.
I am trying to open internet explorer and open a web page.
then popup a message with the name of a form.
This seems to work fin on my PC but not the others near me. ??? don't know why.
There is one complication to this....
the message box appears, and through task manager, I can see IE start then exit.
BUT. I do not see the GUI for IE.. And I can't figure out why.
Here is my code.:
________________________________________________
Option Explicit
On Error Resume Next

Dim IEObject


Set IEObject = CreateObject("InternetExplorer.Application")
' testing Set IEObject.InternetExplorer.FullScreen = True
' testing Set IEObject.InternetExplorer.Height = 200
' testing Set IEObject.InternetExplorer.Width = 200

'Set IEObject = WScript.CreateObject("InternetExplorer.Application",3)

' ************* Main Processing Section **************
IEObject.Visable=true
IEObject.Navigate2("c:\testing\form.html")

WScript.Echo(IEObject.Document.form1a.name)
-----------------------------------------------------

 
Replace this:
IEObject.Visable=true
By this:
IEObject.Visible=true

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top