I've been using this format to hide and show forms:
VB Code:
Public Sub showaddspecimen() Dim myForm As New Code6 myForm.Show() End Sub
I have a form called code6 but it doesn't show up on the list when I type in "Dim form as new" ______ (autofill)
The error squigly line says:
type "code6" is not defined.
Any ideas???
I FOUND IT. IT HAD A NAMESPACE ABOVE IT SO THAT IT SHOWED UP UNDER THE NAMESPACE NAME.
Cheers,
Bebandit




Reply With Quote