It's early in the morning and my brain has not started yet.

My App starts in sub Main and there I make a check to see if a PLC is connected to "com2" if not I will show a MSGBOX and tehn I wanna exit the program.
Since no forms are loaded yet I cant use unload, is exit the correct way to end the program ore what should I use.
I know I'm supposed to know this but as I said, It's early in the morning



------------------
On Error Goto Bed :0)
[email protected]