Wrox Programmer Forums
BOOK: Stephens' Visual Basic Programming 24-Hour Trainer
This is the forum to discuss the Wrox book Stephens' Visual Basic Programming 24-Hour Trainer by Rod Stephens; ISBN: 978-0-470-94335-9
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Stephens' Visual Basic Programming 24-Hour Trainer section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old August 13th, 2011, 11:50 PM
Authorized User
Join Date: May 2011
Posts: 46
Thanks: 27
Thanked 0 Times in 0 Posts
Default Ex 19-4 Console.WriteLine question

I do not see this info listed on my monitor. Your downloaded code does not show the info, either. I can watch the program pull each subitem and the Console.Write line of code shows the correct info when I look at the variable, but it does not show on the screen. Does this info just show so quickly that it leaves the monitor before I see it? Can I require a response from the user (press enter) before the data leaves the screen? Again, your downloaded code does not show the output on my monitor, either. I can step thru both programs (yours and mine) and watch the correct info being processed, but no display on the screen. Thank you.

Keith Z.
Old August 14th, 2011, 04:53 PM
Rod Stephens's Avatar
Wrox Author
Join Date: Jan 2006
Posts: 647
Thanks: 2
Thanked 96 Times in 95 Posts

The Console.WriteLine statement displays text in the Output window in the IDE. Normally it is displayed at the bottom of the IDE as a tab with the Errors and Immediate windows.

If you can't find it, open the Debug's Windows submenu and select Output.

This is a good place to display debugging information.

If you run the executable outside of the IDE, the information doesn't go anywhere so the user cannot see it.

Rod Stephens, Microsoft MVP

Essential Algorithms: A Practical Approach to Computer Algorithms

(Please post reviews at Amazon or wherever you shop!)
The Following User Says Thank You to Rod Stephens For This Useful Post:
zavodney (August 14th, 2011)
Old August 14th, 2011, 10:39 PM
Authorized User
Join Date: May 2011
Posts: 46
Thanks: 27
Thanked 0 Times in 0 Posts

It was there. I thought it was outputting it to a display outside of the program. Thank you.

Keith Z.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ch3 Ex2 Console.WriteLine question thelafe BOOK: Beginning Visual C# 2010 2 June 11th, 2011 08:40 AM
writeline to an application Vinny_68 Pro Visual Basic 2005 0 April 16th, 2007 09:40 AM
Problem with First.cs output via Console.WriteLine patrick764 C# 1 November 7th, 2005 03:17 PM
Console.WriteLine ritag ADO.NET 2 February 9th, 2005 11:09 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.