Hi. I've been searching around the web and here for several days and haven't found a solution to my problem. I'm a veteran ASP.NET developer but I'm new to WinForms and multithreading. I'm using VS 2010 and VB.NET 4.0.
I have a console application that takes minutes to hours to run. It...
When I run my application (form), it works perfectly with backgroundworker. The progressbar works good.
But when I minimize my form and re-open it. The progressbar stops and my application go directly to the
Hey, I need Help, I write this code:
' This calling the BackgroundWorker
Private Sub Button1_Click() Handles Button1.Click
Private Sub BW_DoWork() Handles BW.DoWork
For y = 0 To Bmp.Height - 1
For x = 0 To Bmp.Width - 1...
hi all, i have lurked on these forums before and finally signed up
i have a situation that, after days of searching the web, i have not been able to come up with a solution for.
i have to fire off a function that takes a large amount of time (writes to database, creates files, etc etc)
Please help me introduce multithreading into my code so that the UI is more responsive.
Here is what i've done:
I have a program which searches the entire registry for a keyword and adds the matching keys/values into a listview. The UI becomes non responsive if i attempt to move the form or...
I am building an app that connects to a webservice that returns an XML file, and due to the lag I want to use a backgroundworker to connect and then return the data when its done, and also store the cookies in CookieJar so I can use one post to log in, and get the webservice to auth the session...
I am trying to implement a BGW for a file save(using word automation), I get a error that tells me to add the StaThreadAttribute to the Main Function, not so hard but I cannot find the Main Function in any of the files.vb or the designer where VB.net builds the code for me, i.e. the...