Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27206

VS 2012 How can i get this accomplished

$
0
0
Hey Experts,

im trying to make a simple proxy checker, where it checks if a proxy is alive or not...

im doing this in as follows

i dowload my Proxylist into a listview called ProxyList then i use a Method to check those proxies if alive or not one by one list this

Code:

Private Sub CheckingProxy()
For i as integer = 0 to ProxyList - 1

    ' here i got the code for checking proxies one by one (ProxyList.Items.Item(i))

Next i

End Sub

my problem comes when i try to make this a multithreaded event,
i tried to use System.Threading, as a multithreading, but problem is how can i make each thread when calling the CheckingProxy method to use the Next Proxy in the listview

is there any role for using SyncLock in here

sorry if u find my question silly, but general guidance will be appreciated

Viewing all articles
Browse latest Browse all 27206

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>