Solved

Static Global Constants in VB.NET

Posted on 2009-04-07
1
557 Views
Last Modified: 2012-05-06
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
Comment
Question by:NigelRocks
1 Comment
 
LVL 48

Accepted Solution

by:
jpaulino earned 500 total points
ID: 24089072
#Const declaration cannot be public, so I don't think you can do that.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question