1) Want to create form dynamically and also label
or text during runtime. want to know how can i go about
and below is one of the e.g. for creating the text through
runtime has an error want to solve the same also
2) Learning COM how do I go about and want to know good site plus a book to refer
'HI don't want to add textbox in the form
' actually want to create through coding
' tried all kind of combination none works
' All have the hint is the use of
' property get or set is there
' then on form load event create the label
' and add value to the label
' below is the same
Private Sub Form_Click()
Dim anytext As TextBox
'error occurs on below command
'here error occurs as it requires
'already created text box
'is required in the form (which is
'what don't want to create)
'Set anytext = New text1
'Error is object variable not set
anytext.Text = "Hello"
End Sub
Thanks
Lad
or text during runtime. want to know how can i go about
and below is one of the e.g. for creating the text through
runtime has an error want to solve the same also
2) Learning COM how do I go about and want to know good site plus a book to refer
'HI don't want to add textbox in the form
' actually want to create through coding
' tried all kind of combination none works
' All have the hint is the use of
' property get or set is there
' then on form load event create the label
' and add value to the label
' below is the same
Private Sub Form_Click()
Dim anytext As TextBox
'error occurs on below command
'here error occurs as it requires
'already created text box
'is required in the form (which is
'what don't want to create)
'Set anytext = New text1
'Error is object variable not set
anytext.Text = "Hello"
End Sub
Thanks
Lad