Type Is Not Defined Error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Michael Erlewine

    Type Is Not Defined Error

    I am getting BUILD ERRORS like"Type 'Introduction' is not Defined."

    'Introduction is the name of a form I am using.

    I am trying to load this form from the main form.

    The code looks like this:

    Dim f3 As New Introduction()
    F3.ShowDialog()
    f3.dispose()


    I am getting BUILD ERRORS like"Type 'Introduction' is not Defined."
    How to I define the type.... for the FORM "Introducti on"

    Thanks,

    Michael Erlewine


  • Herfried K. Wagner [MVP]

    #2
    Re: Type Is Not Defined Error

    Michael,

    "Michael Erlewine" <michael@erlewi ne.net> schrieb:[color=blue]
    >I am getting BUILD ERRORS like"Type 'Introduction' is not Defined."
    >
    > 'Introduction is the name of a form I am using.
    >
    > I am trying to load this form from the main form.
    >
    > The code looks like this:
    >
    > Dim f3 As New Introduction()
    > F3.ShowDialog()
    > f3.dispose()
    >
    >
    > I am getting BUILD ERRORS like"Type 'Introduction' is not Defined."
    > How to I define the type.... for the FORM "Introducti on"[/color]

    Set the form's '(Name)' property to 'Introduction' in its properties window
    at design time.

    --
    M S Herfried K. Wagner
    M V P <URL:http://dotnet.mvps.org/>
    V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

    Comment

    Working...