By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,633 Members | 1,842 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,633 IT Pros & Developers. It's quick & easy.

console application

P: n/a
hi,
i'm trying to write a console application using vbnet2005. It runs ok
in a command prompt.
Now, i have to use this console application via telnet (using w2003
server as telnet server) but i get this error:

Unhandled Exception: System.IO.IOException: Handle non valido.

at System.IO.__Error.WinIOError(Int32 errorCode, String
maybeFullPath)
at System.Console.GetBufferInfo(Boolean throwOnNoConsole, Boolean&
succeeded)
at System.Console.GetBufferInfo()
at System.Console.Clear()
at ConsoleNET.Module1.Main()

the code is :

Console.Clear()
Console.Beep()
Console.Write("Eseguo test...")
K = Console.ReadKey(True)
etc...

Dec 1 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.