Hi,
I want to be able to pass a method of a class the name of a form method (sub) to call.
I have..
where sSub = "My_Form_Name.My_Method_Name"
But this errors with "cannot find procedure"
How do I get my class to accept an argument that is either the method on a form to run or a string name and eval it somehow and then execute the method?
Thanks,
1DMF
"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Free Dance Music Downloads
I want to be able to pass a method of a class the name of a form method (sub) to call.
I have..
Code:
Application.Run (sSub)
where sSub = "My_Form_Name.My_Method_Name"
But this errors with "cannot find procedure"
How do I get my class to accept an argument that is either the method on a form to run or a string name and eval it somehow and then execute the method?
Thanks,
1DMF
"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Free Dance Music Downloads