Property
Application.LockApp (read-write, Boolean)
Syntax
Application.LockApp [ = boolean ]
Remarks
Prevents the application from closing when all COM objects are closed.