+ Post New Thread
Results 1 to 2 of 2
Coding Thread, Visual Basic 2008 help in Coding and Web Development; Hi I have the following code that i have found but when i try and use it in Visual Basic ...
  1. #1
    DSapseid's Avatar
    Join Date
    Feb 2007
    Location
    West Sussex
    Posts
    1,154
    Thank Post
    130
    Thanked 54 Times in 47 Posts
    Rep Power
    38

    Visual Basic 2008 help

    Hi I have the following code that i have found but when i try and use it in Visual Basic 2008 Express it doesnt like it because the code is obviously from an older version of VB.

    Is there a really really nice person out there that would like to convert it for use in 2008

    Thanks Dan

    Code:
     Private Sub Command1_Click()
    Set Sh &H3D CreateObject("WScript.Shell")
    
    ' Use a proxy server for your LAN
    
    Sh.RegWrite
    "HKEY_CURRENT_USER\Software\Microsoft\Windows\Curr entVersion\Internet
    Settings\ProxyEnable", "1"
    
    ' Do not use proxy server for addresses beginning with( <local> is the
    "Bypass proxy server for local addresses" option.
    Sh.RegWrite
    "HKEY_CURRENT_USER\Software\Microsoft\Windows\Curr entVersion\Internet
    Settings\ProxyOverride", "1.1.1.1;<local>"
    
    ' Address and port of proxy server
    Sh.RegWrite
    "HKEY_CURRENT_USER\Software\Microsoft\Windows\Curr entVersion\Internet
    Settings\ProxyServer", "1.1.1.1:80"
    
    End Sub

  2. #2
    DSapseid's Avatar
    Join Date
    Feb 2007
    Location
    West Sussex
    Posts
    1,154
    Thank Post
    130
    Thanked 54 Times in 47 Posts
    Rep Power
    38
    Done it just guessed them



SHARE:
+ Post New Thread

Similar Threads

  1. Visual Basic 2008 LAN Chat Room
    By Dyroxide in forum Coding
    Replies: 4
    Last Post: 10th January 2009, 10:57 AM
  2. Im New To Visual Basic 2008....HELP!!!!!
    By firerescue in forum Coding
    Replies: 2
    Last Post: 17th December 2008, 12:10 PM
  3. Visual Basic 6
    By Samson in forum Windows
    Replies: 4
    Last Post: 30th August 2007, 01:41 PM
  4. Visual basic 6
    By Halfmad in forum Windows
    Replies: 9
    Last Post: 11th June 2007, 03:57 PM
  5. Visual Basic 2005 Express
    By Mintsoft in forum Windows
    Replies: 2
    Last Post: 9th June 2006, 09:21 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •