mscott Posted September 6, 2002 Posted September 6, 2002 I have this VB.NET app that i currently writing out put to a label. What would be really nice, is that when I run this app from dos cmd line, I could write the output there. Kinda like cin and cout in c, c++, but in VB.NET. Anyone know if there is a way to accomplish this? Not sure if this is possible, so don't be to harsh in your replies. Thanks. Quote
*Gurus* divil Posted September 6, 2002 *Gurus* Posted September 6, 2002 You should create a new project, and choose Console Application as the project type. You can write to the console using System.Console.WriteLine("hello, world!"). Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
mscott Posted September 10, 2002 Author Posted September 10, 2002 Also As usual divil knows his stuff and is correct. Another solution would be to just write System.Console.Write or WriteLn. W/o having to make it a console project. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.