The Me is not necessary if the code is being run from with the form.
Kev
>It should work. I am not familiar with VB.NET syntax but don't you need to say Me.Hide() or Me.Parent.Hide() to hide the form???
>
>>Jayesh
>>
>>Like this?
>>
>>
objForm = New FormName()
>>objForm.Show()
>>Hide()
>>
>>Kev
>>
>>>The other option is to hide the first form when second form is called. Once the second form is closed, the control will return back to the first form and then you can release both of them. Storing form reference to a public property would work too.
>>>
>>>>Hi
>>>>
>>>>I have an app with 2 Forms and an Application object, after the user clicks on OK in the first form, I want it to load up the second form and close itself.
>>>>
>>>>What's the standard practice on doing that, do I have to create the second form as a Public object and then release the first form?
>>>>
>>>>Any advice?
>>>>
>>>>Thanks
>>>>Kev