#if and define constants in VB.NET

  • Thread starter Thread starter Viki
  • Start date Start date
V

Viki

Hi,

I need to use a lot of define constants for varios settings in my
application.

If I insert a constant in Project Configuration Properties - Build - Custom
constants, this constant is known in all modules. But if I insert #const in
any module, then I can use this constant ONLY in this module.

Does any eventuality exist to have a lot of constants, which are known in
all modules? Some statement (#LINK or #INCLUDE) for special file with
constants.

Viki
 
Back
Top