Need help with two issues 
Author Message
 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 :-)



Sun, 29 Sep 2002 03:00:00 GMT  
 Need help with two issues


Fri, 19 Jun 1992 00:00:00 GMT  
 Need help with two issues
Hello
I am writing a client side VB Script. The IE page includes two frames and I
am trying to call a web site like www.hotmail.com in the second frame. The
second site show in ok. However when I try filling a userid and password
using the script by clicking a button on the first frame it gives an error.
Any insight would be greatly appreciated.

Thanks
NB



Wed, 02 Oct 2002 03:00:00 GMT  
 Need help with two issues
Cross-Frame Scripting and Security
http://msdn.microsoft.com/workshop/Author/om/xframe_scripting_securit...

(I wish I had a dollar for every time this question was asked and answered ;-)...

--
Michael Harris
MVP Scripting

Hello
I am writing a client side VB Script. The IE page includes two frames and I
am trying to call a web site like www.hotmail.com in the second frame. The
second site show in ok. However when I try filling a userid and password
using the script by clicking a button on the first frame it gives an error.
Any insight would be greatly appreciated.

Thanks
NB



Wed, 02 Oct 2002 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Help needed on two issues

2. Two Questions - need help

3. Need help Combining two scripts

4. HELP: need to overlay two pages

5. Need help in two areas.

6. Need help merging two PS files into one.

7. Need Help With Two Methods of a WMI Object

8. Issues adding two columns together

9. Two issues regarding xfer of messages from personal stores to and from Exchange

10. Two issues - Working with Variables And Limiting Template Size

11. Need help - ASP build issue

12. Need help on Read Only issue

 

 
Powered by phpBB® Forum Software