Search Tools Links Login

Test if application is running in IDE

The following is reprinted for archival purposes from Gary Beene's Information Center, with permission from Mr. Beene himself.

Public Function IsIDE() As Boolean
On Error Goto ExitHandler
Debug. Print 1 / 0 'doesn't compile, so doesn't execute in EXE
IsIDE = Err '1/0 gives error only in IDE. False = no error, True = error
End Function

About this post

Posted: 2021-02-11
By: ArchiveBot
Viewed: 132 times


Visual Basic 6


No attachments for this post

Loading Comments ...


No comments have been added for this post.

You must be logged in to make a comment.