Well since you can’t declare a class inside App I suspect there’s one issue in this line
Dim timStartupB As New App.timStartup
This probably should be
Dim timStartupB As New timStartup
timStartupB.Mode = Timer.ModeSingle
timStartupB.Period = 1000
timStartupB.Enabled = True
this assumes that timStartUpB is a property on the app class & not a local variable.
I’m not quite sure of what you mean “And set an action to display a message box.”
In your subclass action event you implemented the Action event ?
Or do you mean something else ?
Make timStartUpB a PROPERTY on your app class
When you have
Dim timStartupB As New timStartup
its a local variable and that variable gets removed BEFORE the timer has a chance to run 1 second so it never has a chance to show the message
Then change the code in App.Open to