![]() ![]() I'm very much a beginner with all of this. Initialize this in your constructor progressBarFileDownload.Minimum = 0 progressBarFileDownload.Maximum = 200 Hope this helps. Just always remember that, the functionality in the DoWork will be executed on a separate thread.īased on the number of files received out of 200, You can then use the ReportProgress function to report the status to the main UI ( Windows / Web form). ![]() Is it possibe to change things around so the work that is done in m_oWorker_DoWork can be done in a different location, like in Program.CS? Again, many thanks for the example! Do you know the functionalities encapsulated in the DLL? If so, you can easily fetch the file retrieval logic from the DLL and include it in the DoWork ASync function. ![]() Using Threads in VB.Net for showing a.net, progress, progress bar, thread, threads, update, vb.net, visual. I would like to provide a progress bar indicating actual progress, but I'm not sure it is 'best practice' to move the code from my dll to the form (where the m_oWorker_DoWork loop is). I have a dll that downloads ~200 files from a website, sometimes the connection is fast, other times it is slow. ![]() I have 1 week experience with C# from VBA so sorry if this is a silly question. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |