How do I make sure that there's only ever one instance of my B4J app running.VB6 had
The PrevInstance property in Visual Basic 6.0 determines if an instance of the application is already running. Typically you call PrevInstance on application startup and abort the application if it returns true.