Retrieve IE Proxy

Posts 1–3 of 3 · Page 1 of 1
Retrieve IE Proxy
Hey guys need alittle help, I am setting a proxy for a browser using the RefreshIESettings method. It picks a proxy at random from a listbox, but i need to display to the user what proxy is in use is there a simple way of doing this without using a ip site or something. I mean as it's picking a proxy from the list at random im not sure how to tell witch one is in use.

Method im using
Code:
 Dim myRandom As New Random
                Dim i As Integer = ListBox2.Items.Count
                RefreshIESettings(ListBox2.Items.Item(myRandom.Next(i)))
Thanks
Store the picked item in a variable first:
Code:
	Dim myRandom As New Random
	Dim i As Integer = ListBox2.Items.Count
	Dim item = ListBox2.Items.Item(myRandom.Next(i))
	RefreshIESettings(item)
	// Do something with 'item' now to display which was picked.
Quote Originally Posted by atom0s View Post
Store the picked item in a variable first:
Code:
	Dim myRandom As New Random
	Dim i As Integer = ListBox2.Items.Count
	Dim item = ListBox2.Items.Item(myRandom.Next(i))
	RefreshIESettings(item)
	// Do something with 'item' now to display which was picked.
Very simple i like it thanks buddy :-)

Worked perfect thanks, Is there a method of turning the proxie back off or would you just set RefreshIESettings to blank or something.
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us