🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.csharpbuilder.language.csharp
Article #13

Re: console window???

#13
From: Simon Rydberg
Date: Tue, 25 Apr 2006 06:17
23 lines
1873 bytes
So BDS differ from Visual Studio?? Because there I always have the 
console. I find it very usful to print out debug messages. I tried to 
start writing on a project in Visual Studio and I wanted to continue in 
BDS, so I used the standard WriteLine..

/simon

I will try to use the methods you suggested.

Marc Rohloff [TeamB] wrote:
> On Mon, 24 Apr 2006 13:31:02 +0200, Simon Rydberg wrote:
> 
> You need to create a console application if you want a console.
> WinForms applications don't have consoles.
> 
> You have two options:
> 1) Capture the console output using calls to SetOut and SetError and
> output it somewhere else.
> 2) Use System.Diagnostics.Debug.Write or
> System.Diagnostics.Trace.Write
> 3) Use System.Diagnostics.Debugger.Log which will appear in the
> debugger.
> 
Technical Details
Message-ID: <444dbedd$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <444cb6f6$1@newsgroups.borland.com> <1vy7khtao0uao$.dlg@dlg.marcrohloff.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,7f947df4318ccdb7
X-Google-Attributes: gid1efe35,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Tue, 25 Apr 2006 08:17:03 +0200
From: Simon Rydberg <simon.rydberg@transrail.se>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.csharpbuilder.language.csharp
Subject: Re: console window???
References: <444cb6f6$1@newsgroups.borland.com> <1vy7khtao0uao$.dlg@dlg.marcrohloff.com>
In-Reply-To: <1vy7khtao0uao$.dlg@dlg.marcrohloff.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 83.241.162.130
Message-ID: <444dbedd$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1145945821 83.241.162.130 (24 Apr 2006 23:17:01 -0700)
Lines: 23
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail