by PJK (1 Submission)
Category: Windows API Call/Explanation
Compatability: VB Script
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating:
(3 Votes)
Check and/or Execute UserDefined Visual Basic Code with just four lines of Code and one API function.
Assumes
When running the App in any other version of VB than VB6, change the API Declaration "vba6.dll" to "vba5.dll" etc... the number should be the version you're using.
API DeclarationsUndocumented VB Function
Private Declare Function EbExecuteLine Lib "vba6.dll" (ByVal pStringToExec As Long, _
ByVal Unknownn1 As Long, ByVal Unknownn2 As Long, ByVal fCheckOnly As Long) As Long
Download VBLanguageMacro (2 KB)