VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Determine IDE/Debugging Status

L. F. Carpenter  (2 Submissions)   Windows API Call/Explanation   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

This function will return whether you are running your program or DLL from within the IDE, or compiled. I use it as part of my DLL's like active document DLL's to setup information that would normally be supplied from the outside.

Returns
Returns True if you are running inside the VB 5.0 or 6.0 IDE.

API Declarations
Private Declare Function GetModuleFileName Lib "kernel32" _
Alias "GetModuleFileNameA" _
( _
ByVal hModule As Long, _
ByVal lpFileName As String, _
ByVal nSize As Long _
) As Long

Rate Determine IDE/Debugging Status (3(3 Vote))
Determine IDE/Debugging Status.bas

Determine IDE/Debugging Status Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters