Is there a way to convert a friend sub to a function or class? I'm trying to make some of my code resuable and less bloaty. The code reads such :
Friend Sub BindToTreeview(ByVal TableName As String, ByVal FieldName As String, ByVal tView As TreeView)
Now I wanna know if that can be made a class or a function...
Thanx a mil
Friend Sub BindToTreeview(ByVal TableName As String, ByVal FieldName As String, ByVal tView As TreeView)
Now I wanna know if that can be made a class or a function...
Thanx a mil