>Hello,All
>
> I don't Like my program to execute more than one in the same time? I tried to use Findwindow API. But the FindWindow can't find the Window handle before the first window be not showed.
> Can anyone help me to solve it?
Look at my ClsEvent class, available for download from the Files Section - it can be used to manage single-instance
anything by associating a named Windows event with the object. The code includes a sample for creating a single-instance program, but the idea can easily be adapted to other concepts such as a form or control.