I have a VB.NET application (.exe) I want to open every time the server starts, even if there is no users connected.
If I open the .exe manually, the main form of the app is shown, but if the task scheduler open it, the form is hidden.
I know that the application is running because it appears in the task manager, but I need to see the main form.
I have tried to create a .bat that starts the .exe but still have the same problem.
The user who starts the task is the server administrator, the same one that I am logged in as.
If I set the task to start when a user is logged in, then the main form appears. It seems that if you set the task to start even if there is no user logged in, it start as a service so it will not show any form.