App.PrevInstance is an extremely useful
statement which allows a running application to determine if another
instance of the app is currently executing. Unfortunately,
app.previnstance is not supported in VBCE 6.0. You can simulate it
though with a few API calls.
Special thanks to Sean Calvert
for contributing this code. Sean is currently responsible for the
development of PC and CE Windows based commissioning and monitoring
software for Emergency Lighting and Fire Detection panels using Visual C++
and Visual Basic.
In 1999, Sean Calvert set-up EasiComm
Solutions Ltd with 2 colleagues. EasiComm
Solutions Ltd provides IT services such as MTMS Support, Systems
Integration, and bespoke programming. EasiComm
Solutions Ltd is currently negotiating terms to provide on-going support
for their current employer's software product range.

Be sure to check out Method
1
|