General discussion
January 18, 2001 at 10:39 PM
deamaik

.vbs-script problem

by deamaik . Updated 24 years, 11 months ago

—-“problem script”:—————
Set MyIE = CreateObject(“InternetExplorer.Application”)
MyIE.height=”230″
MyIE.width=”700″
MyIE.visible=TRUE
MyIE.toolbar=FALSE
MyIE.statusbar=FALSE
MyIE.scrollbar=FALSE
MyIE.resizable=FALSE
MyIE.Navigate “test.htm”
——– questions :————
1.
script should start test.htm in 700×230 iexplorer-window.

even when script is in same folder as test.htm iexplorer try to find “http://test.htm”

when i use the path f.e. “d:\test.htm” page open fine.

is there any solution to use relative path “test.htm” in script??

2.
script should start “naked” browser window:
no tool/status/scrollbars
the lines: “MyIE.toolbar=FALSE / MyIE.statusbar=FALSE / MyIE.resizable=FALSE” are workingas expected, but line: MyIE.scrollbar=FALSE produce runtime error.

how to “descript” the scrollbar??

thx4u

This discussion is locked

All Comments