I have a relatively large program built using LabWindows/CVI.
Is there any way to prevent a user from opening multiple instances of the executable? So, if a user already has the program open, clicking its icon on the start menu or desktop would either do nothing or bring the currently running program into focus instead of opening a separate instance?
Just look at the CVI examples. There is one showing how to do it. Or check out CheckForDuplicateAppInstance function help.
DanP wrote: > I have a relatively large program built using LabWindows/CVI. > > Is there any way to prevent a user from opening multiple instances of > the executable? So, if a user already has the program open, clicking > its icon on the start menu or desktop would either do nothing or bring > the currently running program into focus instead of opening a separate > instance? > > Thanks.