Keyword - DEBUG in a if statement can not be used in a expression also,
'System.Diagnostics.Debugger.IsAttached'
states that a debugger like interdev is attached, QA does not have
Interdev on there machines for it to be attached with,I just want to
know if it was compliled in debug mode or not. Maybe
'System.Diagnostics.Debugger.IsAttached' is what I am looking for but I
thought that ment if Interdev was attached to the process ?
Micah
\\\
#If DEBUG Then
Console.WriteLine("Debug mode.")
#Else
Console.WriteLine("Release mode.")
#End If
///
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!