Ok I got further now.
The following is working:
Assembly a = Assembly.Load("Interop.MyLib");
Type myType = a.getType("MyLib.MyObject");
myType.InvokeMethod(....); //Invoke getName()
The strange thing is I do not see the method getName() when calling
myType.GetMethods(). But when i invoke getName() by using InvokeMethod() it
is working?
Now I have another problem. Besides 'hidden' methods there is also a
variable avialable called length. How can I get the value of this variable?
The myType.GetProperty() is not working (again length is not shown when
calling GetProperties()).
Any ideas?
I tried using late binding and get the Methods by calling GetMethods() on
the type.
"Eric" <do*******@hotmail.com> wrote in message
news:42***********************@news.xs4all.nl...
Hello,
I'm using an ActiveX component in my .NET application bij referencing the
DLL. Visual Studio will create a wrapper class. So far so good. The
problem is that i've not all properties avialable from the ActiveX objects
that i CAN access by using the same objects from script. Are these dynamic
added properties, and is there a way to access them?
Thanks in advance!
Eric