123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|545|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Basic Basement -> vb.net threading :(

Mon, 03 May 2010, 09:26
spinal
Something's been confusing me for a little while, Part of my program has to download a bunch of images then convert them to a different format. This process will jam up the window, so I googled a little and found some examples of threading, so that that process can be done in the background. The only problem though, is that I can't get it to work.

My sub ConvertAndSave() works fine if I just call it, but if I do this -

It doesn't do anything

If it helps, here is the ConvertAndSave sub.





-=-=-
Check out my excellent homepage!
Mon, 03 May 2010, 09:54
Spare
Most likely the problem is: Windows Forms!

I've just tried something simple in a console app:

It works fine.

Maybe this will help you: msdn.microsoft.com/en-us/library/ms171728.aspx

Unless something's just wrong in the ConvertAndSave sub