Search:

Type: Posts; User: SoldierCrimes

Search: Search took 0.03 seconds.

  1. VS 2017 Re: Fastest way for multithreaded for each loop?

    I have no idea how to keep track of that, but i will lower the timeouts and see how it goes!
  2. VS 2017 Re: Fastest way for multithreaded for each loop?

    Sure, here it is: (Trying to make a proxy scraper)

    Async Sub ProxCheckerhttp()

    Dim OpenFileDlg As New OpenFileDialog With {
    .FileName = "Select Combo", ' Default file...
  3. VS 2017 Fastest way for multithreaded for each loop?

    Already tried parallel.foreach but wasnt fast enough. maybe something with background threads? couldnt get it to work because when i try it it does a for each on every background thread i start. ...
  4. Replies
    22
    Views
    2,903

    VS 2017 Re: Multithreading with a Do Loop

    The only problem with this is that, its a bit to slow because i need to make like 1 requests for each site with proxies. so isnt it possible to use background threads but DO await on them so i can...
  5. Replies
    22
    Views
    2,903

    VS 2017 Re: Multithreading with a Do Loop

    Nope, the regex is standard and i have all the sites added in a list in my program.
  6. Replies
    22
    Views
    2,903

    VS 2017 Re: Multithreading with a Do Loop

    I'm trying to develop a proxy checker, so i let the user scrape proxies after that save them in a filedialog
    so what the program does is just go to a couple of sites with a specific regex to get the...
  7. Replies
    22
    Views
    2,903

    VS 2017 Re: Multithreading with a Do Loop

    Does anybody else can help me? im still struggling with the Savefiledialog...
  8. Replies
    22
    Views
    2,903

    VS 2017 Re: Multithreading with a Do Loop

    Totally true, and again thanks for the great explanations! But the savefiledialog is just so sexy if you want to keep it clean and dont ask for: Console.writeline("Please enter the file path: ") or...
  9. Replies
    22
    Views
    2,903

    VS 2017 Re: Multithreading with a Do Loop

    The code that dday9 gave me, its command line but with imported windows forms.
  10. Replies
    22
    Views
    2,903

    VS 2017 Re: Multithreading with a Do Loop

    Thanks for that man! The thing is working right now except the savefiledialog, that still gives me an error when i try to open it. (again an STA error.)
    155811
  11. Replies
    22
    Views
    2,903

    VS 2017 Re: Multithreading with a Do Loop

    Woops sorry, well the problem i encounter is that i want after that process is done open up a savefiledialog and open up a notify when that sub() is done, but when i do that after the Do loop all the...
  12. Replies
    22
    Views
    2,903

    VS 2017 Re: Multithreading with a Do Loop

    Sorry but the replies are with different people but, Shaggy how would you do it then? the stage per item will be like 10-20 seconds probably so i will need to do it multithreaded.
  13. Replies
    22
    Views
    2,903

    VS 2017 Re: Multithreading with a Do Loop

    I will need to do some multithreading Do until loadedfile.count = 0 so i need to do a process with every line in a file.
  14. Replies
    22
    Views
    2,903

    VS 2017 Multithreading with a Do Loop

    So i want a sub() that is multithreaded with like 100 threads and do a Do until loop. i want to console.writeline("Do loop is done.") after that whole sub is done. does anybody know how to do this? i...
  15. VS 2017 Re: SaveFileDialog in ConsoleApplication with list?

    For i = 0 To thrednum
    Dim trd = New Thread(Sub()
    Do Until loadedfile.Count = 0
    'Some Code
    ...
  16. VS 2017 Re: SaveFileDialog in ConsoleApplication with list?

    Yeah i get it i think, but when should i Call my SaveStuff() then? right after the do loop causes the error because that has background threads.
  17. VS 2017 Re: SaveFileDialog in ConsoleApplication with list?

    The problem is that when i have this code:

    Private Sub SaveStuff()
    SyncLock (lockObject)
    Dim saveFileDialog1 As New SaveFileDialog()

    saveFileDialog1.Filter =...
  18. VS 2017 SaveFileDialog in ConsoleApplication with list?

    So i have a multithreaded process in a Do until loop. and i have things i want to write to a text file everytime in that Do until loop. so my thaughts where that i create a list of strings and...
Results 1 to 18 of 18



Click Here to Expand Forum to Full Width