Quote Originally Posted by jmcilhinney View Post
You can just call the method in VB.NET too, but you shouldn't.
Why not?


Is CmdClear a Button?
Yes


If so, call its PerformClick method.
like this? ...
Code:
CmdClear_Click_1(CmdClear,Nothing)

If not, take the code out of CmdClear_Click_1 and put it in a separate method. You can then call that method from CmdClear_Click_1 and CmdSave_Click.
Why take the code out of CmdClear_Click_1 ? Is your reason to make the code more usuable thruout the form? I do not see or understand why I should put it in a sub. If it is only being used in this form, why not simply call it from where it is? Please explain.