using information from others forms
-
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
-
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
-
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.
10x a lot .... it's workin :-) waelhawari