i can understand at all! what the difference? i want to pass the control to other form, i have mainform and loginform and i want pass control from loginfrom to mainform but discarting all the memory of the loginform Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com