Hi,
I'm pretty sure the following is going to be fairly straightforward but it's one of those situations where I think i've been looking at the code too long and now I don't know how to progress!
Background:
I have a component class (let's call it master). One of the properties in this class is an interface - ie: Public Property FileMethod as iFileMethod - where iFileMethod is the interface.
I have a second component class which implements said interface (lets call it slave). I drag component class master onto my form. I drag component class slave onto my form. I set the property in the property grid for FileMethod - Slave appears in the drop down list but the error appears that object reference is not set to an instance of an object.
The question here is how do I get around this without dragging slave into the form first before master?
Many thanks
Chris
I'm pretty sure the following is going to be fairly straightforward but it's one of those situations where I think i've been looking at the code too long and now I don't know how to progress!
Background:
I have a component class (let's call it master). One of the properties in this class is an interface - ie: Public Property FileMethod as iFileMethod - where iFileMethod is the interface.
I have a second component class which implements said interface (lets call it slave). I drag component class master onto my form. I drag component class slave onto my form. I set the property in the property grid for FileMethod - Slave appears in the drop down list but the error appears that object reference is not set to an instance of an object.
The question here is how do I get around this without dragging slave into the form first before master?
Many thanks
Chris