Cross posted and follow-ups set to there.
Do you have any code in your form's closing events that might prevent it
from closing ?
"Sergio" <Se****@discussions.microsoft.comwrote in message
news:C0**********************************@microsof t.com...
thanks, my mistake.
"Ken Halter" wrote:
>"Sergio" <Se****@discussions.microsoft.comwrote in message
news:CE**********************************@microso ft.com...what i need is to call a form2 from a form1, and i need to close the
form1
before the form2 is open, right now i'm doing this:
me.close()
dim objForm2 as new frmForm2
objForm2.showdialog()
but it doen't work, it shows the form2 and don't closes the form1 until
the
form2 is closed.
That doesn't look like a language this group supports. All groups on the
MS
server that start with "microsoft.public.vb" are for pre-dotNet versions
of
VB
If it *were* VB, it would look a little like....
Dim objForm2 as New frmForm2
objForm2.Show
UnLoad Me