A module is a class in which all its members are shared.
On Jan 28, 1:00 pm, Learner <[email protected]> wrote: > Is it same as a Module? I thought it wouldn't work as a module. > > On Jan 28, 2:25 pm, The_Fruitman <[email protected]> wrote: > > > > > If you want a file called Constants.vb then add a new class to your > > project and name it Constants.vb > > > On Jan 28, 12:15 pm, Learner <[email protected]> wrote: > > > > It is done the same way for the all projects. All projects have > > > Constants.vb file in them. The one I am creating a brand new web app > > > so want to be able do it the same way as the other ones to keep it > > > simple. > > > > Thanks, > > > > -L > > > > On Jan 28, 2:11 pm, The_Fruitman <[email protected]> wrote: > > > > > If you're just looking for a place to store your project constants why > > > > not use a web.config file? > > > > > On Jan 28, 11:29 am, Learner <[email protected]> wrote: > > > > > > Hi, > > > > > > I am working on a web project. I picked the 'Web Site' instead of > > > > > 'Project' from File --> New in VS 2005. I just wanted add a 'Module' > > > > > by right clicking on the web site name to put all my project > > > > > constants. But unfortunately I can't fine it in 'Add New Item' > > > > > template. When I tried it with another 'Project' type instead of 'Web > > > > > Site' type then I can see the 'Module' in the 'Add New Item'. Am I > > > > > missing some thing here or it could be added a bit differently with > > > > > 'Web Site'? I just need the Moduel to be created to put all my project > > > > > constants. Please some help me understand what I am missing here? > > > > > > Thanks, > > > > > > -L- Hide quoted text - > > > > > - Show quoted text -- Hide quoted text - > > > > - Show quoted text -- Hide quoted text - > > > - Show quoted text -- Hide quoted text - > > - Show quoted text -
