473,325 Members | 2,608 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

Console.Write vs Debug.Print

I notice a lot of VB 2005 samples use Console.Write instead of Debug.Print.

How do I view the Console.Write output. In what window?

Larry Rebich
Sep 3 '06 #1
5 2377
Larry Rebich wrote:
I notice a lot of VB 2005 samples use Console.Write instead of Debug.Print.

How do I view the Console.Write output. In what window?
In the console. When you compile them as a console application and run
them.
-- Barry

--
http://barrkel.blogspot.com/
Sep 3 '06 #2
I'm sorry I don't understand. How do you compile a web application as a
console application?

Larry Rebich
"Barry Kelly" <ba***********@gmail.comwrote in message
news:37********************************@4ax.com...
Larry Rebich wrote:
>I notice a lot of VB 2005 samples use Console.Write instead of
Debug.Print.

How do I view the Console.Write output. In what window?

In the console. When you compile them as a console application and run
them.
-- Barry

--
http://barrkel.blogspot.com/

Sep 3 '06 #3
Larry Rebich wrote:
I'm sorry I don't understand. How do you compile a web application as a
console application?
That's precisely it - you don't compile them as web applications. You
compile them as console applications.

-- Barry

--
http://barrkel.blogspot.com/
Sep 3 '06 #4
So how do you compile it as a console app? All I see is to compile as Debug
or Release.

Larry
"Barry Kelly" <ba***********@gmail.comwrote in message
news:vf********************************@4ax.com...
Larry Rebich wrote:
>I'm sorry I don't understand. How do you compile a web application as a
console application?

That's precisely it - you don't compile them as web applications. You
compile them as console applications.

-- Barry

--
http://barrkel.blogspot.com/

Sep 4 '06 #5
Larry Rebich wrote:
So how do you compile it as a console app? All I see is to compile as Debug
or Release.
File | New | Project... | (find Console Application in the window)

That's presuming the sample is either a snippet or a console application
already.

-- Barry

--
http://barrkel.blogspot.com/
Sep 4 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Robert | last post by:
Simple way of writing debug print statements in your JavaScript code. You need to have enabled popups in your browser. I liked the ability to write to the java console in Netscape 4.x. This,...
2
by: Boba | last post by:
Hi, I'm programming a WinForm application. I would like to enter commands that will send output that will help me to locate bugs in the future. I know that there is a way to send output by...
7
by: ~toki | last post by:
I have a full work app (server and client) that talk between two executables trought Console.WriteLine(); & Console.ReadLine(); I have the source code of the server. I need to make the client....
1
by: noleander | last post by:
Hi. I've got a C++ program written in Visual C++ 2003. The program is trivial, created with the Program-creation wizard: used the .NET "Form" template. The program has a trivial...
1
by: Grey | last post by:
Can I use System.Console.WriteLine('fasfasdf') in ASP.NET development as I need to print out some message in the console during the debug stage..
4
by: KC | last post by:
Hi, I don't know why this question is so hard to have an answer ? I search Google for a while ... and can't find any "good" answer. Using "throw new Error(msg)" does work ... but I believe...
3
by: kj | last post by:
How can a script send (non-fatal) warnings and other such messages to Firefox's JavaScript console? Thanks! kj -- NOTE: In my address everything before the first period is backwards; and...
2
by: castironpi | last post by:
Presents a console permitting inspection. Input as well as output saved in Python-readable form. Python 2.5.1 memoryconsole4.py logging to My Documents\console.log .... def f( self ): .... ...
3
by: TC | last post by:
I'm trying to debug a console application, but I can't see the console output. I've seen many references which say that console output is supposed to appear on the Output window when the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.