-
Notifications
You must be signed in to change notification settings - Fork 32
/
ClearDebug.bas
49 lines (42 loc) · 1.51 KB
/
ClearDebug.bas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Attribute VB_Name = "ClearDebug_Module"
' #VBIDEUtils#************************************************************
' * Programmer Name : removed
' * Web Site : http://www.ppreview.net
' * E-Mail : removed
' * Date : 04/11/1999
' * Time : 16:51
' * Module Name : ClearDebug_Module
' * Module Filename : ClearDebug.bas
' **********************************************************************
' * Comments :
' *
' *
' **********************************************************************
Option Explicit
Public Sub ClearDebug()
' #VBIDEUtils#************************************************************
' * Programmer Name : removed
' * Web Site : http://www.ppreview.net
' * E-Mail : removed
' * Date : 12/10/1998
' * Time : 20:03
' * Module Name : ClearDebug_Module
' * Module Filename : ClearDebug.bas
' * Procedure Name : ClearDebug
' * Parameters :
' **********************************************************************
' * Comments : Clear the debug window
' *
' *
' **********************************************************************
Dim pWindow As VBIDE.Window
Set pWindow = VBInstance.Windows("Immediate")
If pWindow Is Nothing Then Exit Sub
If pWindow.Visible = True Then
pWindow.SetFocus
SendKeys ("^({Home})"), True
SendKeys ("^(+({End}))"), True
SendKeys ("{Del}"), True
End If
Set pWindow = Nothing
End Sub