|
-
Jun 20th, 2006, 11:43 PM
#1
Thread Starter
Addicted Member
Multithreading
Hello
im building a multithreaded application. in which i want that a Thread executes a form, and does the task in the background, and the form itself displays an animated gif showing that the Thread is working. And also is it possible that i can estimate the progress of the Thread.
thoughtS !!
Women ...r like tea bags, you neva know how strong they really r untill u put them in hot water
Huzefa Yousuf
Software Engineer
Verticity Inc.
+92-345-2235303
[email protected]
-
Jun 21st, 2006, 12:13 AM
#2
Re: Multithreading
If you're using VB 2005 (please specify in future) then you should look at the BackgroundWorker class, which simplifies multi-threading to some degree in suitable situations. Follow the Articles -> Advanced .NET link in my signature and then read the Managed Threading section for information on the BackgroundWorker component and other threading-related issues.
-
Jun 21st, 2006, 12:37 AM
#3
Thread Starter
Addicted Member
Re: Multithreading
no actually am using .NET 2003.
Women ...r like tea bags, you neva know how strong they really r untill u put them in hot water
Huzefa Yousuf
Software Engineer
Verticity Inc.
+92-345-2235303
[email protected]
-
Jun 21st, 2006, 12:45 AM
#4
Re: Multithreading
Then forget the BackgroundWorker but you should still read that article because most of it will still be applicable. There have been a few changes though so you should just check the .NET 1.x doco to see whether the types and members they mention were around then.
-
Jun 21st, 2006, 02:42 AM
#5
Thread Starter
Addicted Member
Re: Multithreading
well actually am not too UNAWARE of .NET Threading, i did make an application which is live in a firm, but that was a different thing. Right now, can anyone just pls temme how do i display an animated gif in a Windows Form.
Women ...r like tea bags, you neva know how strong they really r untill u put them in hot water
Huzefa Yousuf
Software Engineer
Verticity Inc.
+92-345-2235303
[email protected]
-
Jun 21st, 2006, 03:23 AM
#6
Re: Multithreading
The same way you display (almost) any image: in a PictureBox.
-
Jun 21st, 2006, 11:59 AM
#7
Re: Multithreading
You can also check out this thread about a similar topic, with links to information...
http://www.vbforums.com/showthread.php?t=412071
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|