Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine if running from IDE
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00778575
Message ID:
00783982
Views:
14
This message has been marked as the solution to the initial question of the thread.
Doesn't seems to be easy. I have struggled my mind for 2 weeks now (trying to convert my VB6 snippet to .Net but wasn't able to do it!).

But tonight, I found something:

The IDE acts as a debugger, so you could use:
System.Diagnostics.Debugger.IsAttached


http://www.dotnet247.com/247reference/msgs/30/151468.aspx

>What is the best method to determine if you are running from the IDE?
>
>Eric Moreau had the best method that I had found in VB6. I was hoping for a framework answer. I have looked through the books I have and have drawn a major blank.
>
>My thanks in advance,
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform