J
Joel Whitehouse
Hello all,
I added an ocx file (a VB6 usercontrol that I made) as a reference in my
vb.net project. However, when I try to instantiate a new copy of the
control class with the following line:
Private m_hpib As New HPIB
I get this error:
'C:\MyProjects\Antenna Test Range Control\Antenna Test Range
Control\modHPIB.vb(5): 'IoTechHPIBControl.HPIBClass.Private Sub New()'
is not accessible in this context because it is 'Private'.
How can I create an instance of th class if I can't use the "New" keyword??
-Joel
I added an ocx file (a VB6 usercontrol that I made) as a reference in my
vb.net project. However, when I try to instantiate a new copy of the
control class with the following line:
Private m_hpib As New HPIB
I get this error:
'C:\MyProjects\Antenna Test Range Control\Antenna Test Range
Control\modHPIB.vb(5): 'IoTechHPIBControl.HPIBClass.Private Sub New()'
is not accessible in this context because it is 'Private'.
How can I create an instance of th class if I can't use the "New" keyword??
-Joel