hi list, i thought that the following code: Public Sub Form_Open() Me.Persistent = True End ensures that the form (startup class) is only hidden but the program stays alive (i have a tray icon) but if i close the form, the programs ends. i had the same thing in gambas2 and if i remember correctly it worked there... have there been any changes? regards, tobi