Results 1 to 3 of 3

Thread: Threading problem - resolved

Threaded View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 2003
    Location
    MS
    Posts
    22

    Question Threading problem - resolved

    I am creating a new thread in my form1 class.

    I am counting down a timer, the thread starts when the timer stops and plays an alarm sound. I have a "snooze" button, well, I think you understand what I'm trying to accomplish.

    When I start the thread, all goes well, I can stop it also with "threadname.abort", but this kills it so I cannot restart the thread. If I use "suspend", the program throws an exception claiming the thread is not running, but I know it is, it plays a sound in a loop. Any suggestions to better handle this?
    Last edited by skid2964; Dec 11th, 2003 at 10:14 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width