April 15th, 2013, 07:49 AM
how to generalize a command in Module to be called in different forms
I am new to Visual basic and trying to write a program where I am writing a public subroutine in module and calling it in MDI and other MDI child forms. But the problem is, how should I make it general so that same subroutine can be used in different forms. For example the command: Form1.Picture1.cls
For the other form this command would be Form2.Picture1.cls. Please tell me how to generalize such commands.
Thanks in advance.
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.