SBendBuckeye
Programmer
I am trying to generalize some code into a VB ActiveX dll for use with an Access database. Say I have this line of code in my form code: Set ctlActiveX = New MyActiveXControl,
where MyActiveXControl is registered via Tools References.
If I was doing this in VBA, I could pull the parent form name in during Class_Initialization with this line:
Set frm = Application.CodeContextObject
Is there an equivalent property in VB that I can use to minimize code in my calling form by doing something similar to the above?
Thanks in advance for any help you can give me!
where MyActiveXControl is registered via Tools References.
If I was doing this in VBA, I could pull the parent form name in during Class_Initialization with this line:
Set frm = Application.CodeContextObject
Is there an equivalent property in VB that I can use to minimize code in my calling form by doing something similar to the above?
Thanks in advance for any help you can give me!