i have ocx i want to add that control at run time in vb.6 form can some 1 guide me
Printable View
i have ocx i want to add that control at run time in vb.6 form can some 1 guide me
Moved From The CodeBank
Do: Project/Components/Browse
Locate the OCX, select it, click OK
i thnk ue telling me manually
as this is code to create textbox at run time and using vb.textbox
so when we r adding external ocx how to proceed
Code:Dim txtBox As textbox
Set txtBox = Controls.Add("VB.textbox", "txtBox", Frame1)
With txtBox
.Move 150, 240, 1500
.Visible = True
End With