>Hello friends; I have a main form, from this I send to another that is not part of the main form. How can I activate or deactivate the main form?
Make the "another" form a modal one. A modal form will keep focus until it is released. To make a form modal, you have two options:
1. Yourotherform.Show(1)
2. Yourotherform.WindowType = 1