I have some code, and I want to do something like:
VB Code:
  1. Dim RandomNumber As New Random
  2. If IsRunningInIDE Or Else RandomNumber.Next(0,11) = 10 Then
  3.    'do something
  4. End If
I want some code to execute on a 1 in 10 chance. But when testing on my PC while running in IDE I want it to happen all the time.

yea yea...I know code is compiled and executed from the DLL, but the IDE debugs it.

Is this possible?

Woof