Visual Basic: Newbie questions.

Posted by Omega on Stack Overflow See other posts from Stack Overflow or by Omega
Published on 2011-01-05T05:08:46Z Indexed on 2011/01/05 5:53 UTC
Read the original article Hit count: 170

Filed under:
|
|

Hello there. I am starting to learn visual basic. So far, it is quite simple and easy to use. I am liking it!

Anyway, I want to make applications a little bit more complex. So far I have done very silly things. I would appreciate if you could help me with these:

  1. How do I open a new window (form)? Maybe I click a button on my main form and another form pops up. How do I "deactivate" the main form while the new form is running? (if I try to click the main form, an error sound plays)

  2. So my second form has a text field and a "OK" button. If I click it, the second form closes activating the main form again. I want to "pass" the text in the text field from the second form to the first one. How do I do that?

Thank you, I am enjoying this new programming environment (didn't use Visual Studio much before)

© Stack Overflow or respective owner

Related posts about forms

Related posts about vb