Re: Call Private sub fromm mdiForm
Properties is the way to go for sure but you can also use variables if that is the way you want to do it. The variables have to be public and have to be declared within the forms declarations section.
You can not access private variables from any other form, class or module they are private to the container they are declared in.
When access a public variable in a form or class you must prefix the from or class unto the variable name
i.e. Form1.MyVar
This method will allow you to have more than 1 copy of the form in memory and each have its own unique variables, still properties is a better choice.
Always use [code][/code] tags when posting code.