|
How
to Debug a compiled executable?
In the IDE, you often use "Debug.Print ..." to
verify
or watch anything, but in the compiled Exe/Dll?
The following simple code will do it (assumed you
have installed the windows clipboard viewer):
Sub
DebugClipboard(ByVal Text As Variant)
Dim dummy$
With Clipboard
dummy = .GetText
.Clear
dummy = dummy & vbCrLf & Trim$(Text)
.SetText dummy
End With
End SubTip
submitted by Jürgen Thümmler |
|
|
|