You can use the built in Debug constant to test when compiled in to debug
mode instead of release mode.
E.g.
#If DEBUG Then
'Do debugging code
#End If
If you need to define your own constant, go to the project properties ->
Configuration Properties -> Build and insert any custom constants you need
at the bottom of the page.
Hope this helps.
Trev.
"Crirus" <Cr****@datagroup.ro> wrote in message
news:ug**************@TK2MSFTNGP11.phx.gbl...
I need a code to be considered only when I test something...
How to declare a compile constant..?
--
Cheers,
Crirus
------------------------------
If work were a good thing, the boss would take it all from you
------------------------------