Hello, Can anyone tell me how to create control at run time plz give me the example Bye
Code: Dim objFrm As Form1 Set objFrm = New Form1
Dim objFrm As Form1 Set objFrm = New Form1
This Will make a textbox control Code: Dim txt As TextBox Set txt = Form1.Controls.Add("vb.textbox", "text1", Form1) txt.Visible = True
Dim txt As TextBox Set txt = Form1.Controls.Add("vb.textbox", "text1", Form1) txt.Visible = True
I am become death, the destroyer of worlds. mail:[email protected] Visual Basic 6.0 & .NETVisual C++ 6.0 & .NETASPLISPPROLOGCPascal
Forum Rules