I know nothing about VBScript, so please show me in detail.
For an online application, I'm trying to use the VBScript found in http:Q_23223204.html
to open a special browser window (without scroll bars, address bar, menu bar, etc.) of Internet Explorer -- and I'm trying to run the VBscript from a desktop shortcut icon.
I only got as far as trying to test the script from the Win Run command using Run: wscript c:\scripts\openIE.vbs .
In doing so, I found the script itself has an "unspecified error."
Besides fixing that error, I also need to know how to run the script from a desktop shortcut icon.
Const cHost = "http://www.example.com"
Const cPath = "/index.html"
Const cParms = "?wwidth=780&wheight=580"
cURL = cHost & cPath & cParms
Set oIE = CreateObject("internetexplorer.application")
oIE.Height = 241
oIE.Width = 400
oIE.Top = 222
oIE.Left = 250
oIE.MenuBar = False
oIE.ToolBar = False
oIE.Resizable = False
oIE.Document.Body.Scroll = "no"
oIE.Visible = True