|
-
May 14th, 2004, 05:46 AM
#1
Thread Starter
New Member
runing a process simultaneously
Hi.. i have a simple application which has two sliders, when slided, it will execute a loop.
my problem is when I slide the other slider(slider2), the slider1 stop its processing and the slider2 starts its processing. is there a possibility that both of them will process when i slide them both..
-
May 14th, 2004, 07:21 AM
#2
PowerPoster
Yes it possible, I would suggest to you to do some research on multi-threading in .NET.
-
May 14th, 2004, 10:36 AM
#3
Fanatic Member
dimonique, welcome to threading hell,
Dude when i first looked at threading i shat myself, the first thing it said in my msdn lib was somthing like this
"threading isnt easy, in fact its the hardest thing your ever do"
i was like OMG, but in the end it wasnt too bad, the only things i can say is,
You can only start a thread on a sub, therefore if you wana return soemthing from a function you can use a thread of the function so
private sub blah()
'run the function here
end sub
also remember dont run excess threads the first thing i went and done was opening threads here there and everywhere...
BAD IDEA
if you declare the thread public then it can be access from any part of the application....
Use intellisense it rocks with threading, if set up correctly
below is a link to something i just posted take a look your soon work it out
http://www.vbforums.com/showthread.p...hreadid=289949
I am curretly building a defect management system for software and web developers,
If you wana try it out (beta test) and keep it for free just send me a message
-
May 14th, 2004, 07:50 PM
#4
Thread Starter
New Member
Guess your right carlblanchard .. i have to thread my self out of this.. i'l keep at it.. its gonna be loco
thanks..
God bless
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
|