![]() |
|
[.NET] how a use listbox proxy with httpwebrequest - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [.NET] how a use listbox proxy with httpwebrequest (/showthread.php?tid=5922657) |
how a use listbox proxy with httpwebrequest - Hacker2245 - Dec 25, 2018 hi guys im really happy for join with members hack forums im old member here from 2009 and i left world hack for 5years , now im back to world hack again and forget all Programming 👍 now im want help for use listbox proxy with httpwebrequest , im Programming that code and not work fine. but i am want use every 5sec new proxy from listbox auto, who can fix my code or make source code example for me . thanks all 👍 here link code pastebin.com/rU2srQr7 RE: how a use listbox proxy with httpwebrequest - StarZ - Dec 25, 2018 Code request.Proxy = listbox1.Items(index).ToString()Haven't opened up VB in a while, but it should be close. Index ofc is the index of the current proxy in the listbox. RE: how a use listbox proxy with httpwebrequest - Hacker2245 - Dec 25, 2018 (Dec 25, 2018 05:23 PM)StarZ Wrote: thanks , but i am want use every 5sec new proxy from listbox auto. RE: how a use listbox proxy with httpwebrequest - GHackiHG - Dec 25, 2018 Create timer, background thread or task and then call Thead.Sleep(5000) in loop In each iteration just initialize proxy from listbox as you wish RE: how a use listbox proxy with httpwebrequest - DBots - Dec 26, 2018 Consider getting rid of the following.. On Error Resume Next -Implement the Try/Catch pattern anywhere you think an error may occur. CheckForIllegalCrossThreadCalls = False -Consider using Invoke. There are many ways to do this but for clarity sake, I will try to stay as close as possible to your coding model. 'On the form thread: (inside a start button or something) PHP Code You've set the items of ListBox1 to lstProxies. A Thread is then spawned with those items in a parameter. PHP Code RE: how a use listbox proxy with httpwebrequest - Hacker2245 - Dec 26, 2018 (Dec 25, 2018 06:36 PM)GHackiHG Wrote: Create timer, background thread or task and then call Thead.Sleep(5000) in loop thanks, but here is my problem if u can fix it or make source code example for me pastebin.com/RjCHbbuh (Dec 26, 2018 12:14 AM)DBots Wrote: Consider getting rid of the following.. thanks man good job , im will test that 👍 (Dec 26, 2018 12:14 AM)DBots Wrote: Consider getting rid of the following.. i am make good job and soon done my project but have that problem if u can fix it , ty for your time p o s t i m g.cc/B8Q3VWs2 RE: how a use listbox proxy with httpwebrequest - Hacker2245 - Dec 27, 2018 no one help here all code is nothing ,but thanks all im make good code and done my project 👍 that video project streamable.com/ypldg close post. RE: how a use listbox proxy with httpwebrequest - 0xDEAD10CC - Dec 28, 2018 All these mentions of threads and threaded timers and Thread.Sleep for timing... 🤦♂ System.Windows.Forms.Timer is the only good way to go here, and if you need to deal with the data on a separate thread, then spawn it there utilizing a threadpool or something. You don't need to use threads for anything but the actual processing using the proxies, as dealing with the listbox object collection is all the UI thread in the first place... |