In VB6, I use this little nugget to tell whether or not I am running inside the IDE...
VB Code:
Private Function InIDE() As Boolean On Error GoTo ReturnTrue Debug.Print (1 / 0) InIDE = False Exit Function ReturnTrue: InIDE = True End Function
Is there a similar way to do it in the .NET IDE? (In any language really)
![]()




Reply With Quote