Solved

Static Global Constants in VB.NET

Posted on 2009-04-07
1
555 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

This is about my first experience with programming Arduino.
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

805 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