Search Tools Links Login

IsInIDE?


Visual Basic 6, or VB Classic

--IsInIDE()

--It'll return true if running in IDE

Original Author: TV2k.net

API Declarations

'none

Code

Public Function IsInIDE() As Boolean
'-----------------------------------
'-  IsInIDE()
'-
'- It'll return true if running in IDE
'-
'-   By T-Virus Creations
'- http://www.tvirusonline.be
'- email: tvirus4ever@yahoo.co.uk
'-
'-----------------------------------
'-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

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 111 times

Categories

Visual Basic 6

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.