Solved

Static Global Constants in VB.NET

Posted on 2009-04-07
1
549 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
Comment Utility
#Const declaration cannot be public, so I don't think you can do that.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now