Why don't you just close Form1 instead of disposing it? IT will be disposed
after you close it, as long as there are no other references to it. At
least, I think it will. Hard to tell with that big-a.s thread about
disposing forms over in microsoft.public.dotnet.languages.vb.
I'm doing this in the Click event of one of the buttons on my form:
Dim searchWin as SearchFilterForm = New SearchFilterForm()
searchWin.Show()
Me.Close()
And it works just fine.
Robin S.
---------------------
> Hi all,
>
[quoted text clipped - 6 lines]
>
> Thanx in advance
aakashdee@gmail.com - 16 Mar 2007 07:46 GMT
> Why don't you just close Form1 instead of disposing it? IT will be disposed
> after you close it, as long as there are no other references to it. At
[quoted text clipped - 23 lines]
>
> > Thanx in advance
Thanx buddy :-)
RobinS - 16 Mar 2007 17:33 GMT
>> Why don't you just close Form1 instead of disposing it? IT will be
>> disposed
[quoted text clipped - 26 lines]
>
> Thanx buddy :-)
Glad I could help.
Robin