If I store a value in the registry such as InDebugMode then I would like to
be able to store whether we are in DebugMode across the application. In
other words, I would like to use something like:
IF DebugMode THEN
LogFile.WriteEntry("We are in debug mode")
END IF
I would prefer to avoid hitting the registry every time.
Can anybody offer any advise?
Running Visual Studio .Net 2003.
Delphi Convert---Kicking and Screaming :~)
--
Mark A. Deal
Document & Data Solutions, LLC
http://www.docsol.com
Time Matters AIC
GhostFill Certified Consultant