this one is confusing me.
I have an editor component which is wrapped within an ocx. (scivb)
I have a debugger control which is wrapped in an ocx and uses the scivb editor (dukdbg)
Now I am embedding the the dukdbg debugger control in my host form.
I would like full access to the underlying scivb editor component. I know I cant share it directly by name unless they were both in the same ocx library (Can not share private object type as a public return type yada yada)
I should be able to share it as an generic object type though like
and then in the host form: (after adding a reference to the same scivb ocx)
I have tested this general mechanism with other activex controls (even vb created ones)
and it works.
but every time I try it with this one scivb editor control it fails with a type mismatch.
I have checked the vbp files to make sure the GUID and version are exactly the same..they are.
The best I seem to be able to do here is to just keep it as object and then use late bound calls which works...but I really want the intellisense :(
has anyone run into this screwy behavior before?
I have an editor component which is wrapped within an ocx. (scivb)
I have a debugger control which is wrapped in an ocx and uses the scivb editor (dukdbg)
Now I am embedding the the dukdbg debugger control in my host form.
I would like full access to the underlying scivb editor component. I know I cant share it directly by name unless they were both in the same ocx library (Can not share private object type as a public return type yada yada)
I should be able to share it as an generic object type though like
Code:
'dukdbg usercontrol
property get sci() as object
set sci = scivb
end property
Code:
dim sci as SciSimple
set sci = dukdbg.sci
and it works.
but every time I try it with this one scivb editor control it fails with a type mismatch.
I have checked the vbp files to make sure the GUID and version are exactly the same..they are.
The best I seem to be able to do here is to just keep it as object and then use late bound calls which works...but I really want the intellisense :(
has anyone run into this screwy behavior before?