Click here to Skip to main content
15,942,392 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
So, yea, what is a public module and how do i make one using

Sample Public module code:
Public Module thisModule
    Sub Main()
        Dim userName As String = InputBox("What is your name?")
        MsgBox("User name is" & userName)
    End Sub
    ' Insert variable, property, procedure, and event declarations.
End Module

and refer:
Module Statement[^]
Modules in Visual Basic .NET[^]
Share this answer
Sergey Alexandrovich Kryukov 18-Jun-14 0:13am    
Correct, a 5. I added 2 cents in Solution 2.
In addition to Solution 2: see also, important:[^].

Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900