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. Running 2 forms in 2 different displays in VB program

Running 2 forms in 2 different displays in VB program

Scheduled Pinned Locked Moved Visual Basic
questionhelp
2 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.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    Hello to everyone! I have a project to do in VB. My problem is, that this program is divided to 2 purposes - 1-operator's entry form of some data, 2-displaying this data in another form in a second display (both displays are connected to 1 comuter). How can I display 2 different forms running at the same time in one program? Thank you all in advance.

    P 1 Reply Last reply
    0
    • L Lost User

      Hello to everyone! I have a project to do in VB. My problem is, that this program is divided to 2 purposes - 1-operator's entry form of some data, 2-displaying this data in another form in a second display (both displays are connected to 1 comuter). How can I display 2 different forms running at the same time in one program? Thank you all in advance.

      P Offline
      P Offline
      Paul M Watt
      wrote on last edited by
      #2

      If you want to create a second window, or form, then you will need to do something like this. ' Declare the form variable Dim secondForm as Form1 ' Create the form object Set secondForm = New Form1 ' Set the form to visible. secondForm.Show


      Build a man a fire, and he will be warm for a day
      Light a man on fire, and he will be warm for the rest of his life!

      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