vb.net - Stopping Multiple Programs Running At Once -


here's problem. in our program, have add-on (machine vision) customers can edit themselves. provide template add-on in vb.net 2010. copy template , rename (to whatever like), , edit couple of things.. problem restrict customer opening more 1 copy of template @ 1 time.

obviously i've selected single instance, since different programs stop them opening same template twice. first thought change process name , place generic (mycompany - ) in front of assembly name, don't think that's possible. wondering if knew of way check program open. can edit our template place in copies of template (which checked) can't think of available.

i can't understand why want prevent template being shown more once. i've never tried this, try using system.diagnostics.process.kill, , kill new instance of program. need program monitor whether process name launched more once, , terminate every launch first.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -