Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Late Binding Events for a .NET class in VB6

Status
Not open for further replies.

ShaggieCda

Programmer
Apr 7, 2023
1
CA
I read thread222-797467 and have used that method before when I have a control.
Unlike what the last person said,
Code:
Set m_ABC = m_frm.Controls.Add("ABCAX.ABCViewerAXCtl.1", "ABCControl")
is late binding as there is no need to have a reference to [box]ABCAX.ABCViewerAXCtl.1[/box], however, you may need to add the license string for that
Code:
VB.Licenses.Add "ABCAX.ABCViewerAXCtl.1"
. The license code does not always match the control name.

What I am looking for, however, is a way to do this without a control. If anyone has any suggestions, I would appreciate it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top