Interrupt concept

Creator

Newcomer
Joined
Aug 14, 2003
Messages
20
Hey I having some trouble with my project and was wondering if someone can help me out here.
I am developing a program which on the background I want it to run some image processing code to detection intruder- capture img from webcam and process it continuously. And on the user interface I have other stuff like send sms and email etc .

When the program starts the image processing code starts running continuously and if user clicks say "send sms" on the user interface, I want the image processing code to stop and then after the sms code is done, I want the image processing code to continue from where it was left off, just like interrupt in microcontroller.

I am new to vb .net so pls give me more details on what you mean...ie skeleton code would be apprec..
 
This all depends on how you are doing the image processing. Are you using loops, threads, timers or something else?
 
I am using while loop.......I think I work out how to do it.. is to use the DoEvents

But not sure if this is the best way of doing it.
 
Back
Top