I have a form and I am calling a method from a module in that form. However, how to do i call the object into the method, since Me doesn't work.
Example:
in the module:
in the form:
also, how do i delete a thread i made; i accidentally posted in the wrong section a while ago
Example:
in the module:
VB.NET:
Function printname()
Console.WriteLine("Form called with is titled:" + me. text)
return me.text
End Function
in the form:
VB.NET:
Private Sub buttonfindname_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles buttonfindname.Click
Console.WriteLine("this form is titled:" + printname())
End Sub
also, how do i delete a thread i made; i accidentally posted in the wrong section a while ago