Welcome! and rules
Joel on Software
I have two forms showing on the screen, Form1 and Form2. On Form1 I have a textbox which is blank. On form2 I have a command button which will enter text into the textbox on Form1. It's not working. So the question is this; How do I enter text into the textbox on Form1 from Form2 with both forms showing on the screen?.
If you are talking about WinForms, you would have to expose a public method on your Form1 that would then set the textbox.
Cory Foy (cornetdesign.com)
If form1 is the form that creates form2, then when creating form2, do it like this:
I would like to add that if you are doing this, you might want to look at your app's design in general... I have only had a (good) reason to do this once or twice, and even on those occasions I probably could have altered my design to allow for a prettier solution.
Fog Creek Home