If you have ever noticed in the Task Manager, when you right-click on the running task, you have many options which include ‘Minimize’ and ‘Maximize’. Is there anyway to do achieve this in vb?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here is an example of the code you are looking for. It will loop through all the active processes and minimize all the windows.
In your app you will probably want to use something like
Process.GetProcessesByNameto find the specific window you want to manipulate.