Guest Nwulf Posted August 16, 2002 Posted August 16, 2002 I am very new at the VB .Net...Came from programming in Access 97. I have a MainMenu form with button captions that will change, depending on data in a table. What I want to do is when a button is pressed on the main menu, I want to pass the caption of the button to another form, which names a certain label box. LOL...I just found out how to open another form from a form (another post I read), but would like to somehow transfer data to form 2. Any suggestions? Nick Quote
*Gurus* divil Posted August 16, 2002 *Gurus* Posted August 16, 2002 There are a *lot* of threads in this forum answering exactly that question. At least 1 in 10, probably more :) Try to remember that forms are just classes, and to change something on a class you need a reference to it. Just using the name of the form won't work because you need an instance. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.