Returns or sets a value that determines the types of messages displayed in the Console window.
Read-write property
variable = object.DebugFlags |
Long
The supported values for DebugFlags are:
Value | Meaning |
---|---|
0 | No debugging messages |
1 | Show event messages |
2 | Show internal debug and timing messages |
3 | Show all messages |
Displays the Console window and writes some text to it.
Console Object Example (VBScript) | ![]() |
---|---|
Sub WriteToConsole Console.Visible = True Console.DebugFlags = 3 Console.Caption = "My Output" Console.Color = apGreen Console.BackgroundColor = apYellow Console.Clear Console.Print "This is the console window", apBlue, apRed Console.Print "Here is another message" End Sub |