>>Is there any way to check when a user clicks on
>>the Windows Icon to see if an instance of an
>>application is running? I Have an exe out there
>>that users are trashing because they minimize it,
>>forget, and call it up again multiple times.
>
>Yes, it should be done at the icon level because most of times, when developers are putting the code to detect inside the setup program, the second instance will not even be able to load because of a low memory.
>
>Having it at the icon level will also give you instance switch to your application or load it.
>
>We normally use a small C program for that. If you want I can put you in contact with my C resource and he'll talk you more about his C detect program. A few of us, here in the Universal Thread, are already using his routine.
How much is the C Program? I have used to foxTools.Fll in the past and it does work, but I am looking to cut down on the overhead. FYI: MS KB Article Q109059 give details on the FoxTools.Fll and control of multiple instances if anyone is interested.
Steve Medvid
Systems Analyst
Environmental Resource Management