I have a while loop, that I want my program to run through while a user has a form active. right now I have tried both,
While frmLineProduct.ActiveForm.Focus = True
While (frmLineProduct.ActiveForm.Equals(True))
But neither of these work. I am going to keep reading on this but if someone has already knows how to do this, I would appreciate the lesson.