darkyr Posted October 10, 2011 Posted October 10, 2011 (edited) My question is when i ping google do i ping it through the proxy or from my ip... Dim $aRecords2 If Not _FileReadToArray("proxy.txt",$aRecords2) Then MsgBox(4096,"Error", " Error reading log to Array error:" & @error) Exit EndIf $y=1 $no=0 while $no=0 $y=$y+1 $proxy=$aRecords2[$y] RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings", "ProxyEnable", "REG_DWORD", "1") RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings", "ProxyServer", "REG_SZ", $proxy) If Ping("www.google.com",250)<>0 then MsgBox(0, $proxy, $proxy) $no=1 EndIf WEnd $oIE = _IECreate("http://www.whatsmyip.org") Edited October 10, 2011 by darkyr
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now