#if and define constants in VB.NET

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top