Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics 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
  #1 (permalink)  
Old April 29th, 2005, 08:20 AM
Authorized User
 
Join Date: Oct 2004
Location: Bristol, Nth. Somerset, United Kingdom.
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Default Console Application


Could someone please tell me why:

console.writeline("Hello World")

prints to the output window? I was expecting a Dos window to open and the output to go there.

Further down in my application I have:

strAnswer = Console.Readline

Which I thought should stop and wait for input, its not. The program just keep going?

Replies welcome.
  #2 (permalink)  
Old April 29th, 2005, 08:41 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , .
Posts: 540
Thanks: 0
Thanked 4 Times in 4 Posts
Default

Is this a Windows application or a console application? If it is a windows app it will write to the output, console will open a DOS window.

J
  #3 (permalink)  
Old April 29th, 2005, 10:52 AM
Authorized User
 
Join Date: Oct 2004
Location: Bristol, Nth. Somerset, United Kingdom.
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks that was it.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Console application but no Console gamotter C# 2 August 22nd, 2007 11:41 PM
Printing from console application pilgrim7993 BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 1 December 16th, 2006 05:39 AM
Console application and web application nsrujan ASP.NET 1.0 and 1.1 Basics 1 April 16th, 2005 10:35 PM
SendMail from a Console Application r_ganesh76 General .NET 3 March 1st, 2005 11:25 AM
Ending a console application FarCry VS.NET 2002/2003 9 May 26th, 2004 11:17 AM





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