Hello, I'd like to clear the immediate window when the build starts. It's pretty easy for the command window: Private Sub DebuggerEvents_OnEnterRunMode(ByVal r As dbgEventReason) Handles DebuggerEvents.OnEnterRunMode DTE.ToolWindows.CommandWindow.Clear() End Sub Is there a way to do this with the immediate window? thx, stax