
Need help with two issues
I hope anyone can help me with either of this two problems. I'm stuck and
would appreciate any help.
a) I want to start Microsoft's Internet Explorer via Windiows Scripting
host, and disable most of it's features using Component Object Model
commands.
I know that
Set IE=Wscript.CreateObject("InternetExplorer.application")
IE.toolbar=0
IE.statusbar=0
IE.menubar=0
disables those three features. But I also need to disable the right mouse
button, the ability to open new browser windows etc. The only possibility
left should be to view a given html file and follow the provided links in
the same window.
b) I want to read the data from a form in a html page using VBScript.
As long as the data comes from a text box, everything is fine. Assuming the
form name is test1, and the textbox name is test2, i get it's content with
a=document.test1.test2.value
but I want to get the data from a drop-down list, and I don't know how to do
that. I suppose it's because the dropdown-list is treated as an array(with
the number of fields corresponding to the number items in the list), but I
don't know how to determine which option was chosen...
Any ideas???
Thanks in advance :-)