Hi,

In on of my VB.NET form, it will display some customer information.
However, if the customer does not exist, I want to close the window itself.

I've tried to put Me.Close inside the form's Load, Activated, HandleCreated, but I always get an error!

What is the proper way to achieve this goal?

Thx a lot!