Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. New to VB.Net from VB6

New to VB.Net from VB6

Scheduled Pinned Locked Moved Visual Basic
csharpquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Gaz UK
    wrote on last edited by
    #1

    I've recently bought VB.net and I like it! ..however, I'm struggling to understand all the new concepts...like forms e.g in VB6 to load another form you would Load Form1, Form1.show...how does this work in VB.net????

    M 1 Reply Last reply
    0
    • G Gaz UK

      I've recently bought VB.net and I like it! ..however, I'm struggling to understand all the new concepts...like forms e.g in VB6 to load another form you would Load Form1, Form1.show...how does this work in VB.net????

      M Offline
      M Offline
      Michael P Butler
      wrote on last edited by
      #2

      Simply, Declare an instance of your form and call the Show method.

          Dim myForm As New Form2
      
          myForm.Show()
      

      Michael But you know when the truth is told, That you can get what you want or you can just get old, Your're going to kick off before you even get halfway through. When will you realise... Vienna waits for you? - "The Stranger," Billy Joel

      G 1 Reply Last reply
      0
      • M Michael P Butler

        Simply, Declare an instance of your form and call the Show method.

            Dim myForm As New Form2
        
            myForm.Show()
        

        Michael But you know when the truth is told, That you can get what you want or you can just get old, Your're going to kick off before you even get halfway through. When will you realise... Vienna waits for you? - "The Stranger," Billy Joel

        G Offline
        G Offline
        Gaz UK
        wrote on last edited by
        #3

        Thanks...problem solved... :-)

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups