You can create a class and then write the 'Imports MyClass' line at
the top of the page (after the page directive) and put all of your
constants in it. This is probably a more elegant solution in line
with your question. But in the end, I believe that you can still use
the old style #include statement. A benefit of using a class right
off the top of my head is that you have intellisense which should make
MSFT wealthy if that's all they ever did for us.
Please let me know if I am incorrect in my statement regarding the
What I find is the following preprocessors...
I remember reading about this and seeing an example, just haven't been able to recall. At runtime/debugtime the included code (sheesh I got to stop calling it that) is inserted into the body and seamlessly present to step through.