PDA

Click to See Complete Forum and Search --> : allowing only single instance of activex exe to run


navnit
Feb 8th, 2002, 05:11 AM
hi

i have created an activex exe project, i want it's start mode to be stand alone, but when i do this, if i'll run this exe each time new instance is created. by doing this i can directly start application from sub main.

i don't want to keep start mode as activex componant 'b'cos then i have to create object of it for running

please help me

axion_sa
Feb 8th, 2002, 07:20 AM
have u tried app.previnstance?

yrwyddfa
Feb 8th, 2002, 10:48 AM
Lookup the CoffeeWatch demo on MSDN.

Edneeis
Feb 8th, 2002, 11:50 AM
If you don't want to create an object from it then why are you making it an ActiveX exe instead of a standard exe?