anonymous
2010-08-29 19:39:36 UTC
I am a fellow VB6 coder, and I am finding the transition to VB.NET very frustrating. Here is my problem, a user clicks on a button - it opens a dialouge, the user enters the data into the form, - I want to send the data back to the original form. Should I use a loop? I made a module and made a variable that gets the data public, but, it's not working out how I intended it to.
Code: *it's just example only it wouldn't run if you copy and pasted off course.. *
toolstripbutton1_click()
formurl.show() ' show the form for the user to enter his or her data.
msgbox(myvariable) ' displays the variable blank.
end sub
I NEED TO SEND THE DATA BACK FROM MY FORM TO MY MAIN FORM... Please help!