VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



IsInIDE?

by TV2kNET.net (6 Submissions)
Category: Miscellaneous
Compatability: Visual Basic 3.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (4 Votes)

--IsInIDE()

--It'll return true if running in IDE

API Declarations
'none

Rate IsInIDE?

Public Function IsInIDE() As Boolean
'-----------------------------------
'-  IsInIDE()
'-
'- It'll return true if running in IDE
'-
'-   By T-Virus Creations
'- http://www.tvirusonline.be
'- email: [email protected]
'-
'-----------------------------------
'-TESTED: In VB6.0 SP5
'-----------------------------------
Dim x As Long
On Error Resume Next
x = VB.App.LogMode()
If x = 1 Then IsInIDE = False Else IsInIDE = True
End Function

Download this snippet    Add to My Saved Code

IsInIDE? Comments

No comments have been posted about IsInIDE?. Why not be the first to post a comment about IsInIDE?.

Post your comment

Subject:
Message:
0/1000 characters