G
Guest
Using VS 2003, VB .NET:
Currently I have a windows app that I'm running in a single thread. Recent
client requests have me interested in learning how to create another thread
and perform an action asyn. to the main GUI app. So my question is pretty
simple, how do I do that. The action that I want performed in the 2nd thread
is to play an audio wav file - possibly putting that thread to sleep for a
while before playing it.
I know how to create a new thread and put it to sleep - I'm just not sure
how to associate my media player with the second thread instead of the main
app thread.
Thanks for your attention to this matter.
-Charles
Currently I have a windows app that I'm running in a single thread. Recent
client requests have me interested in learning how to create another thread
and perform an action asyn. to the main GUI app. So my question is pretty
simple, how do I do that. The action that I want performed in the 2nd thread
is to play an audio wav file - possibly putting that thread to sleep for a
while before playing it.
I know how to create a new thread and put it to sleep - I'm just not sure
how to associate my media player with the second thread instead of the main
app thread.
Thanks for your attention to this matter.
-Charles