Results 1 to 1 of 1

Thread: Form isn't available...[RESOLVED]

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2002
    Posts
    142

    Form isn't available...[RESOLVED]

    I've been using this format to hide and show forms:
    VB Code:
    1. Public Sub showaddspecimen()
    2.         Dim myForm As New Code6
    3.         myForm.Show()
    4.  
    5.     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
    Last edited by bebandit; Jan 15th, 2004 at 04:44 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width