canberrasnag
Programmer
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)
-----------------------------------------------------
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)
-----------------------------------------------------