I am working with VB.NET 2013 Express.
I have a solution containing two projects, let's say AA and BB.
AA is a regular WinForms app.
BB is a windowless WinForms app.
AA may be opened and closed many times throughout the session. When AA opens, it should see if BB is already running, and if not, launch it.
BB will run until the PC (Windows 7) is powered down.
I need some kind of way of testing if BB is already running.
I tried writing status to a file, but I do not know how to get a closing event on BB to reset status for the next session.
I really do not want to add anything to computer's start-up menu if I can avoid it. Is there a better way?