Instead of function you use Sub:
Public Sub YourSub(param1 as Type1, param2 as Type2)
End Sub
You can see that Sub do not return any type.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 4 of 4
Thread: Declaring a method...Threaded View
|
Click Here to Expand Forum to Full Width |