RE: Output Window

Tech-Archive recommends: Fix windows errors by optimizing your registry



Greg,
In this hello world console application, clear function clears "hello world"
line properly. Then you must look at your code again:

Module Module1

Sub Main()
Console.WriteLine("hello world")
Console.Clear()
' Pause
Console.ReadLine()

End Sub

End Module

HTH,

Onur

"Greg" wrote:

I am using the following command to output my results to the Output window
(for testing things out).

Console.WriteLine ("Output")

I'd like to clear the Output window of any previous output. I tried

Console.Clear

but, this results in an error.

Is there a way to clear previous output text in the Output Window?
.



Relevant Pages

  • RE: Output Window
    ... to create a console applicaiton for each Exercise, ... Public Sub DirFiles() ... I'd like to clear the Output window of any previous output. ... Is there a way to clear previous output text in the Output Window? ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Problem with "handles" - possible garbage collection issue?
    ... >> memory usage keeps increasing, but more worrying, the no of open ... >> Private sub Click ... >> Dim frm As New ViewVehicleStatus ... appear in the output window of the development ...
    (microsoft.public.dotnet.languages.vb)
  • Error on opening project
    ... works fine, but whenever I try opening a new VB project, I get the following ... In a dialog box: ClassFactorycannot supply requested class ... In the output window: 'Sub Main' was not found in 'WindowsApplication3'. ...
    (microsoft.public.vstudio.general)
  • RE: Output Window
    ... Public Sub DirFiles() ... Dim myFile As System.IO.FileInfo ... I'd like to clear the Output window of any previous output. ... Is there a way to clear previous output text in the Output Window? ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Need a way to tell if a System.Windows.Forms.Button is "depressed" (pushed down)
    ... Protected Overrides Sub WndProc ... > then .NET is handling the button state & my IsPressed does not work as ... > "Mick Doherty" ... >> False" in the Output Window, ...
    (microsoft.public.dotnet.languages.vb)