I have an activex control in build. I populate the control with a module, but I cannot directly read values from the controls components to code in the module.
EG. an option button, true or false.
How come?
Printable View
I have an activex control in build. I populate the control with a module, but I cannot directly read values from the controls components to code in the module.
EG. an option button, true or false.
How come?
Pass a reference of the UserControl to your Module Subs and Functions, and refer to the control as type Object.
Urgghh late binding. Better to create an interface (use a non-createable class) and pass that around. Even better derive from IUnknown using IDL create the typelib, make a reference in VB, and pass that around instead.Quote:
Originally Posted by Dave Sell