Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Hta app for turning proxysetting on/off

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

 

 
  
  Printable Version
All Forums >> [Scripting] >> Post a VBScript >> Hta app for turning proxysetting on/off
  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 >>
 Hta app for turning proxysetting on/off - 2/2/2006 9:28:39 PM   
  crazymatt

 

Posts: 296
Score: 0
Joined: 3/4/2005
From:
Status: offline
I did this lil app for easy switching the proxy on/off. When i surf some internal webresources i need it off and i got tired of going the  whole "IE/tools/internet-optrions..." way :)

Havnt commented the code so good yet, will edit it soon when i get some time to spare. So exuse me til then.. ;)

Save it as Proxychanger.hta and run :)


      

If anything is unclear feel free to ask.

/CM

_____________________________

-There is only 10 sorts of people, those who understand binary and those who dont.
 
 
Post #: 1
 
 RE: Hta app for turning proxysetting on/off - 2/3/2006 8:03:04 AM   
  ebgreen


Posts: 4613
Score: 31
Joined: 7/12/2005
Status: offline
Here is the same code formatted with block indentation:

      

The only thing I would do different (and it is extremely minor) is:

I would change this:
            oReg.GetDWORDValue HKEY_CURRENT_USER,strKeyPath,strValueName,dwValue
            strTEXT = dwValue
to this:
            oReg.GetDWORDValue HKEY_CURRENT_USER,strKeyPath,strValueName,strTEXT
In both places it occurs.

_____________________________

"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to crazymatt)
 
 
Post #: 2
 
 RE: Hta app for turning proxysetting on/off - 2/5/2006 8:09:26 PM   
  crazymatt

 

Posts: 296
Score: 0
Joined: 3/4/2005
From:
Status: offline
hehe tnx for the formating, was to lazy to do that ;)

And i say the same exuse for the dwValue=strTEXT thing as well..



_____________________________

-There is only 10 sorts of people, those who understand binary and those who dont.

(in reply to ebgreen)
 
 
Post #: 3
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> Post a VBScript >> Hta app for turning proxysetting on/off 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