Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


VBSCRIPT AND IE Settings

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,3218
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> VBSCRIPT AND IE Settings
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 VBSCRIPT AND IE Settings - 6/3/2005 4:11:31 PM   
  atu

 

Posts: 33
Score: 0
Joined: 6/1/2005
From:
Status: offline
Hello.Is it possible to change the IE settings using VBSCRIPT.If possible then please tell me how.
Thanks
 
 
Post #: 1
 
 Re: VBSCRIPT AND IE Settings - 6/3/2005 9:26:44 PM   
  TNO


Posts: 1303
Score: 12
Joined: 12/18/2004
From: thenewobjective.com
Status: offline
Yes, its possible. What are you trying to change?

(in reply to atu)
 
 
Post #: 2
 
 Re: VBSCRIPT AND IE Settings - 6/3/2005 10:16:19 PM   
  atu

 

Posts: 33
Score: 0
Joined: 6/1/2005
From:
Status: offline
As i told you before that i am VS and VS.Net(excluding asp.net) programmer and i don't have much idea about web development so i am learning different things which are in my mind from web point of view and as far as my this post is concerned i would like to know about all the changes that can be made in IE .I mean if you go to internet security properties you see two levels .One is custom level and the other one is default . I want to know how to change both.i.e. all the settings in custom settings and taking the security level down to low in custom settings.Please help bcoz web programming is turning out to be a new and interesting field for me.
Thanks

(in reply to atu)
 
 
Post #: 3
 
 Re: VBSCRIPT AND IE Settings - 6/10/2005 3:58:15 AM   
  atu

 

Posts: 33
Score: 0
Joined: 6/1/2005
From:
Status: offline
But specifically i would like to allow the ActiveXControls to download without prompting the user.If it is possible to change then please help me.

(in reply to atu)
 
 
Post #: 4
 
 Re: VBSCRIPT AND IE Settings - 6/12/2005 2:41:01 PM   
  atu

 

Posts: 33
Score: 0
Joined: 6/1/2005
From:
Status: offline
I think that you have forgot to answer the this question.You just said yes it can be changed and afterthat you have disappeared.If it can be changed, i would like to ask how.Do help.
Thanks

(in reply to atu)
 
 
Post #: 5
 
 Re: VBSCRIPT AND IE Settings - 6/12/2005 8:27:27 PM   
  Zifter


Posts: 318
Score: 0
Joined: 1/5/2005
From: Belgium
Status: offline
There is a tool you can download from the Microsoft Script Center called Tweakomatic.
This tool generates scripts to make changes to your windows or internet explorer settings.
I would suggest to download this tool and take a look at the generated scripts concerning the internet explorer security settings. They should get you started with what you're trying to do.

HTH

(in reply to atu)
 
 
Post #: 6
 
 Re: VBSCRIPT AND IE Settings - 6/14/2005 9:49:21 PM   
  atu

 

Posts: 33
Score: 0
Joined: 6/1/2005
From:
Status: offline
Yes i got that software and its really very great one from educational and learning point of view.But can you please tell in which html of scripting language tags should i have to enclose them in order them to work from a web page which is hosted on a domain .say on geoctites.Do help.
Thanks.

(in reply to atu)
 
 
Post #: 7
 
 Re: VBSCRIPT AND IE Settings - 6/15/2005 1:24:31 AM   
  rockocubs

 

Posts: 65
Score: 0
Joined: 4/8/2005
From:
Status: offline
If you don't post an example of what your working on, we would all be just guessing on what you really want.

(in reply to atu)
 
 
Post #: 8
 
 Re: VBSCRIPT AND IE Settings - 6/15/2005 2:28:54 AM   
  Zifter


Posts: 318
Score: 0
Joined: 1/5/2005
From: Belgium
Status: offline
I hope that's not possible.
That would mean a serious security problem.
Imagine what a malicous person can do to your system if they could change the security settings of IE from a webpage...

(in reply to atu)
 
 
Post #: 9
 
 Re: VBSCRIPT AND IE Settings - 6/15/2005 4:53:56 AM   
  atu

 

Posts: 33
Score: 0
Joined: 6/1/2005
From:
Status: offline
Well actually what i want to do is that i want to run the WSH script on my computer but i when i try to run it i get the message that ActiveXControl can't creat the object WSCRIPT.SHELL.But when i turn off the IE's some options then it work properly.I just want to change the settings for the sake of WSH code to work.

(in reply to atu)
 
 
Post #: 10
 
 Re: VBSCRIPT AND IE Settings - 6/15/2005 5:48:31 AM   
  rockocubs

 

Posts: 65
Score: 0
Joined: 4/8/2005
From:
Status: offline
If you would post your script maybe we could help.

(in reply to atu)
 
 
Post #: 11
 
 Re: VBSCRIPT AND IE Settings - 6/16/2005 3:03:54 AM   
  atu

 

Posts: 33
Score: 0
Joined: 6/1/2005
From:
Status: offline
<html>
<script language="vbscript">
FileSystemObject.CopyFile "d:\guppo.jpeg", "c:\"
'The following is for jscript which i got from MSDN.
'fso = new ActiveXObject("Scripting.FileSystemObject");
'fso.CopyFile ("c:\\mydocuments\\letters\\*.doc", "c:\\tempfolder\\")
</script>
</html>
----------------
I am just trying this sample code from MSDN but it prompts me with the windows messages that running this code might be unsafe.Why is it so.I am saving this file using .html extension.Do help
Thanks.

(in reply to atu)
 
 
Post #: 12
 
 Re: VBSCRIPT AND IE Settings - 6/16/2005 5:49:10 AM   
  mbouchard


Posts: 1916
Score: 16
Joined: 5/15/2003
From: USA
Status: offline
The message that you are receiving are by design. IE security settings prohibit files from automatically downloading and some activeX controls from being loaded. An individual can relax the IE settings on their PC's or it can be done to multiple PC's if on a domain, and yes, some of this should be doable from a script, BUT it would have to be run on each individual PC and can leave the system open for attack. Also, this is not taking Firefox users into consideration as ActiveX is not supported in Firefox.

(in reply to atu)
 
 
Post #: 13
 
 Re: VBSCRIPT AND IE Settings - 6/27/2005 2:05:56 AM   
  atu

 

Posts: 33
Score: 0
Joined: 6/1/2005
From:
Status: offline
Thanks for your help but i am not interested in attacking someone instead i just want to do that task without any interruption from windows i.e i just want to know how can we change the settings using a scripting language programmatically.My aim is to learn as many programming techniques as i can.

(in reply to atu)
 
 
Post #: 14
 
 RE: VBSCRIPT AND IE Settings - 7/15/2005 2:16:23 AM   
  atu

 

Posts: 33
Score: 0
Joined: 6/1/2005
From:
Status: offline
no one answered my question . i just want that the above vbscript runs without any interruption and for that i have to change the IE setting "initialize and script activex controls not marked as safe".i just want to change that setting of IE so that my above small vbscript program can work.
Please Help.

(in reply to atu)
 
 
Post #: 15
 
 RE: VBSCRIPT AND IE Settings - 7/15/2005 2:40:38 AM   
  Country73


Posts: 733
Score: 10
Joined: 8/25/2004
From: USA
Status: offline
I don't believe you're going to get an answer to your question here. (It's too big of a security risk)
Even if you only plan on running this against your own machine, what happens when someone else get's a hold of that code for malicious reasons?

If you're only concerned about running the script on your computer, no chance of "infecting" anyone else's computer, then just manually go in and change the settings on YOUR browser. Then you can run your script till your heart's content.


(in reply to atu)
 
 
Post #: 16
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> VBSCRIPT AND IE Settings Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts