Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

No Module Files in 2008?

Status
Not open for further replies.

Turpis

Programmer
Apr 16, 2002
151
I am finally moving from VS2003 to VS2008. One of the things that I have noticed in this version is that there are no module files. Modules were my primary way of declaring global variables and shared functions that pages within my applications would be using.

Is there another way to do this? I know I could use session.item for variables but even then they don't get magically declared when the application runs (not matter which page ends up being called first) like modules do.

Charles
Quality Assurance/Developer
 
I dreaded writing that question because I figured that if I did the answer would be simple or I would find the answer myself within a few minutes of submitting it.

I did...one can simply insert a class file and then delete all the code and declare it a module. Wonder why they didn't just leave the module file as a default insertable file? Is it bad coding to use modules?

Charles
Quality Assurance/Developer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top