Hi again Sergey,
Figured it out myself. Used your routine and use the .Visible property as a check for another copy (The form is not yet visible in the Load event).
Thanks again
>Hi Sergey,
>
>Thanks for the reply.
>Your routine works proir to calling the form.
>I was hoping to embed the check into a subclassed form so that, in the load event, it checks if another instance is running, and shuts itself down.
>... or similar functionality, embedded in the form itself.
>
>Regards
>
>>>Hi,
>>>
>>>This is probably VFP 101...
>>>I've been dealing with modal forms for the most part, avoiding the problem.
>>>How do I prevent multiple instances of a modeless form?
>>>
>>>TIA
>>
>>See
Prevent form re loading Message #
618074.