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. using information from others forms

using information from others forms

Scheduled Pinned Locked Moved Visual Basic
help
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.
  • W Offline
    W Offline
    Wael Hawari
    wrote on last edited by
    #1

    hi everybody, i am using a visual basic 6 platform, i have 2 forms, form1 & form2, from the form1 i am callin the form2 using : form2.show, but i have a pb i need to take the informations entered by user on the txtbox in from2 & use it in the form1 but the pb is that the form1 keep runing & he is waitin till the user press ok on the form2 to take the info. in other words i need to do somthin like the inputbox function in visual basic but i have more the one textbox. can anyone help me plz to solve this pb... i realy need help on it. 10x for replyin waelhawari

    S 1 Reply Last reply
    0
    • W Wael Hawari

      hi everybody, i am using a visual basic 6 platform, i have 2 forms, form1 & form2, from the form1 i am callin the form2 using : form2.show, but i have a pb i need to take the informations entered by user on the txtbox in from2 & use it in the form1 but the pb is that the form1 keep runing & he is waitin till the user press ok on the form2 to take the info. in other words i need to do somthin like the inputbox function in visual basic but i have more the one textbox. can anyone help me plz to solve this pb... i realy need help on it. 10x for replyin waelhawari

      S Offline
      S Offline
      sa_runner
      wrote on last edited by
      #2

      Why not create a module that contains global variables? In form2, you can place the information into a global variable. Then, when you close the form and/or get back to form1, it will be there.

      W 1 Reply Last reply
      0
      • S sa_runner

        Why not create a module that contains global variables? In form2, you can place the information into a global variable. Then, when you close the form and/or get back to form1, it will be there.

        W Offline
        W Offline
        Wael Hawari
        wrote on last edited by
        #3

        10x a lot .... it's workin :-) waelhawari

        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