Switching Forms

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Anagnos -

    Switching Forms

    I have a command button that needs to link to another form in the
    project. In VB 6 this was easy. However, I cannot figure out how to open
    up the form in .NET.

    Thanks,

    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
  • RD

    #2
    Re: Switching Forms

    Dim MyNewform as new YourOtherFormNa me
    MyNewForm.showd ialog()
    or MyNewForm.show( )

    "Anagnos -" <fried_gaubatz@ yahoo.com> wrote in message
    news:urij2P0zEH A.3596@TK2MSFTN GP12.phx.gbl...[color=blue]
    > I have a command button that needs to link to another form in the
    > project. In VB 6 this was easy. However, I cannot figure out how to open
    > up the form in .NET.
    >
    > Thanks,
    >
    > *** Sent via Developersdex http://www.developersdex.com ***
    > Don't just participate in USENET...get rewarded for it![/color]


    Comment

    • Anagnos -

      #3
      Re: Switching Forms

      Thanks, that was exactly what I needed!

      *** Sent via Developersdex http://www.developersdex.com ***
      Don't just participate in USENET...get rewarded for it!

      Comment

      • Cor Ligthert

        #4
        Re: Switching Forms

        > Dim MyNewform as new YourOtherFormNa me[color=blue]
        > MyNewForm.showd ialog()
        > or MyNewForm.show( )[/color]

        This is not switching, this is showing a New form.
        However maybe that is what Anagos (The OP) means.

        Just to get it right in this messagethread.

        Cor




        Comment

        • Herfried K. Wagner [MVP]

          #5
          Re: Switching Forms

          "Anagnos -" <fried_gaubatz@ yahoo.com> schrieb:[color=blue]
          >I have a command button that needs to link to another form in the
          > project. In VB 6 this was easy. However, I cannot figure out how to open
          > up the form in .NET.[/color]

          <URL:http://www.google.de/groups?selm=u%2 3xQOutWDHA.2100 %40TK2MSFTNGP11 .phx.gbl>

          --
          Herfried K. Wagner [MVP]
          <URL:http://dotnet.mvps.org/>


          Comment

          Working...