thanx, CyberHawke the code is working now !!!
thanx ~

but now i got another problem, do mind to teach me ??

the problem is when i open one parent form and the user click at the new client to try to input another client information

example

form 1 and when i click at new client to let user to input again that is form 2 but when i close the form 1 the form 2 will continue close it hwo can i avoid the form 2 close ????

i have us the coding below to create a new form

If Check = 0 Then

Do my things here

Else

Dim mainmenu As New MainMenu
mainmenu.Show()

End If

can CyberHawke know what i mean ??