Hello,
I want to create a module in Vb.NET & need help for the same!
Regards,
Hello,
I want to create a module in Vb.NET & need help for the same!
Regards,
I have always used modules both in VB 6 and VB.NET. in VB6, they were a great way to create static class like functions so that you could just call a method without needing to create an instance of an object and worry whether it's instantiated or not and all that other crap.
In VB.NET it's roughly the same idea. Use modules as a way to group/organize methods that are more utility methods than part of a class.
Creating Custom Modules
You can learn creating a module in VB.NET on your own!
I hope this helps ask me if you don't understand any concept!
start a new project. Add a button to you new form. To add a Module to your project, click Project from the menu bar. From the from down menu, click on "Add Module":
When you click "Add Module", you'll get the following dialogue box popping up:
Select Module from the Templates window. Type a name for your new module - modVerify.vb. When you've typed a name, click the Open button.
You'll should see a blank window
If you take a look at the Solutions Explorer on the right, you should see that your new module is listed:
Hope this helps!
Bookmarks