as the title , i want to create module for my application . i found that module is used for global declaration or function / procedure defination.
but here i want to ask that how to create a module in vb.net which is applicable to all the window forms of the application(for ex: i put Dim a As Integer=10 then this a will be applicable to form1 as well as form2 and so on ). whether i have to create another module file what we do in vb6 OR there is something other way to create it. if possible then please put a very simple syntax or code so that i can understand the concept behind module.
i dont know if i get your question right. You can create module in vb.net by right clicking your application name then click add and click module it then would add something like Module1 in your project. The other way around is that you can create library classes or dll which i think is much better, you can use it to any application you want. Add Reference - Browse - Select the .dll you have created then Imports it tou your form.