amolt
Apr 3rd, 2009, 02:07 AM
Hi All,
I need to create a component (dll) which provides a single class exposed to client.
By this class I need to expose other objects.
for eg,
Create dll Lib
the main component exposed to clients are LibMain
Now through the object of LibMain in vb application I need to refer to other components.
like - "objLibMain.Process.ProcessMin"
Component Process :
Methods - ProcessMin
ProcessMax
Properties - Set ConnectedObj
Get ConnectedObj
Events - ProcessingStart
Processing
ProcessingComplete
to provide such thing I assume the way to expose a method from my LibMain
which creates the object for Process component which further calls to its method and properties, the same for other components need to expose.
The main thing I cannot guess is what should I do with the Process Components Events or how to handle this.
The way to create the component I am thinking is correct ?
If it is then how to handle these events ?
Any ideas on the implementation process?
these are the questions I am stucked on.
Hope to get some help asap.
Thanks in advance....:confused:
I need to create a component (dll) which provides a single class exposed to client.
By this class I need to expose other objects.
for eg,
Create dll Lib
the main component exposed to clients are LibMain
Now through the object of LibMain in vb application I need to refer to other components.
like - "objLibMain.Process.ProcessMin"
Component Process :
Methods - ProcessMin
ProcessMax
Properties - Set ConnectedObj
Get ConnectedObj
Events - ProcessingStart
Processing
ProcessingComplete
to provide such thing I assume the way to expose a method from my LibMain
which creates the object for Process component which further calls to its method and properties, the same for other components need to expose.
The main thing I cannot guess is what should I do with the Process Components Events or how to handle this.
The way to create the component I am thinking is correct ?
If it is then how to handle these events ?
Any ideas on the implementation process?
these are the questions I am stucked on.
Hope to get some help asap.
Thanks in advance....:confused: