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!

global variables not working in visual studio 2005!

Status
Not open for further replies.

patrickdrd

Programmer
Nov 21, 2003
149
GR
Hi guys!

What has happened to visual studio 2005 regarding global variables?
Can't we use them anymore?

I have created a "GlobalDeclaration.vb" file (in app_code folder) to place an enum and when I try to declare a variable of that enum in a code-behind file,
vb complains "is not defined"!

Thanks in advance!
 
Is "GlobalDeclaration.vb" a module? If so, is the module itself declared Private?

Regards, Ruffnekk
---
Is it true that cannibals don't eat clowns because they taste funny?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top