Calling object methods without direct
Posted on 1999-01-18
This is a tough one.
I need to call methods in an ActiveX control BUT I can't use the standard object.method to call it. I will only know it's name at run-time.
I need (I know it doesn't exist in plain VB) something like object.methods["methodname"](var1, var2). I could live without any vars.
I also know this can be implemented using the IDispatch interface methods like GetIdsOfNames...
I'm looking for something generic which can take an object and analyze it's properties and methods. I could do it with Delphi or C++, but I need to do it in VB or use something ready.