I have a setup which installs my application (my application is just a hidden application that sync the data from my server to the users)...
When the setup start my application, the application exits when it finish! (it should not exit when it finish because the Timer will restart the functions again and again...)
The setup creator I use is InstallForge , I thought the problem is with InstallForge so I created another application that does Process.Start("MyApp.exe")
but the same problem occurs too!
Opening the application exe manually is fine and the problem does not occur when I open it manually.
EDIT: My application does not have anything related to the closure of the application.
Here is how I hide my application:
Form_Load Event
Me.ShowInTaskbar = False
Me.Opacity = 0.0
Form_Shown Event
Me.Visible = False
Any help would be appreciated!
Thanks!