Detecting if running in VS.NET

  • Thread starter Thread starter ko
  • Start date Start date
K

ko

Hi all, is it possible to detect if a program is running in VS.NET IDE?

Thanx
 
Hi all, is it possible to detect if a program is running in VS.NET IDE?

System.Diagnostics.Debugger.IsAttached
 
Why do you want to know that?

Want to trap runtime-errors redirecting user to a standard error page if not
in debug, otherwise i want the usual error screen if running in VS.NET IDE
(useful for me)

Bye
 

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

Back
Top