Hi!
Try thisform.Release()
and in the Destroy event of the form check if you need to release toolbar and release it.
HTH.
>Hi All:
> In my exit command button I release my form by using this code Release ThisForm, however, this does not releases my form the first time around. The form gets activated again and I need to click the exits button again (twice) in order to release the form. It seems that my toolbar still have a ref. to this form and it release the form the second time. How can I release my form the first time I click on the exit button and also release my toolbar? I don't want to exit my application, just the active form.
>Thanks
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.