[RESOLVED] Trouble understanding this Scope problem
I'm using Visual Studio .NET 2003 to write a SmartDevice Application.
Here's my problem:
I have two forms (Form1 and Form2); Form1 is the main application where all of my data is displayed and Form2 is a Data editor. When I'm finished editing the data with Form2, I want Form2 to update the ComboBoxes in Form1 with the newly added Data. But from Form2 code Form1.ComboBox1.Text cannot be accessed.
I tried calling a Friend Sub ChangeComboBox() placed in a Public Module to access the other form, but that doesn't include Form1 in it's scope either!!! :rolleyes:
Re: Trouble understanding this Scope problem
Read the first link in my signature.
Re: Trouble understanding this Scope problem
Thanks, this is good stuff! I'm reading Sams Teach yourself Visual Basic .NET in 21 Days to get myself from VB6 to VB.NET but the section on scope is far from sufficient for me. I appreciate the link! :thumb: