Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 573
  • Last Modified:

Static Global Constants in VB.NET

Experts,

I have the following pre-compiler directives:

#Const bLIVE_VERSION = False
#Const bTEST_VERSION = True
#Const bLIVE_TEST_VERSION = False     'From live database to test flat files

I have to put them in several different files.  Is there a way I can make them global and put them in one global file?
0
NigelRocks
Asked:
NigelRocks
1 Solution
 
Jorge PaulinoIT Pro/DeveloperCommented:
#Const declaration cannot be public, so I don't think you can do that.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now