Hi Christof
>I've seen similar behavior when code deep inside a class hierarchy calls Show or SetFocus for any of the controls on the first form. The coverage profiler is a good tool to find out what code really is executed when you display a form.
Thanks for your response. I will try out your suggestion. By the first form you meam my forms or the msgbox of the utility?