Dear Sir,
I am in great trouble. I have a form which contain Two textbox control. When I passing the Form to Procedure the textbox controls of the form not getting say I am giving Exaple.
Please elp me.Code:Public Class Myform 'This Form Contains Two Controls TextBox1 And TextBox2 'Calling the Procedure Call GetReferanceForm(Me) End Class Public Class Module1 Public Sub GetReferanceForm(frm as Form) dim oForm as New Form oForm =frm 'Now Here oFrom is Defined by Frm which MyForm Reference 'Here I am not getting Controls Like TextBox1,TextBox2 oForm.TextBox1 'not Getting End Sub
Thankin You
Debasis Bag




Reply With Quote