Yes. VB.net would only pay attention to the form that actually lost focus. When the form loses focus, you can have the program call the pausing function/sub. When the form regains focus, have it resume. It doesn't matter if you have 100 forms from the same program open, the code is form specific.