Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Visual Basic ( VB ) (http://www.go4expert.com/forums/visual-basic/)
-   -   How to create a module in VB (http://www.go4expert.com/forums/create-module-vb-t21546/)

shyam_oec 27Mar2010 18:02

How to create a module in VB
 
Hi,
i am new to VB , i want to create a module, for that i am going to project (Add) properties and adding a new Module. But when i am writing code to create module that's showing error.
I am writing

Code:

Module Module2
 
End Module2

and the name of the Module file is Module2.

Code:

....
End Module2

is shown in red..and program is not running.
error shown is" Compiler error: Invalid outside procedure"
.So, what's the reason?

shyam_oec 28Mar2010 07:52

Re: How to create a module in VB
 
HI,
No one knows how to create a Module? Or am i in a wrong forum?


All times are GMT +5.5. The time now is 00:49.