Temple of The Roguelike Forums

Development => Programming => Topic started by: Berserker on March 10, 2008, 10:03:26 PM

Title: Writing to the console (vb6)
Post by: Berserker on March 10, 2008, 10:03:26 PM
Could anyone point me in the direction of a tutorial that teaches me to write to console in VB6?
Title: Re: Writing to the console (vb6)
Post by: beam on March 11, 2008, 11:44:40 AM
You're going to need to check out the Console API from MSDN.

http://msdn2.microsoft.com/en-us/library/ms682010%28VS.85%29.aspx

This page has 3 examples in VB6 on what to do with that information:

http://www.answers.com/topic/allocconsole?cat=technology
Title: Re: Writing to the console (vb6)
Post by: Berserker on March 11, 2008, 03:11:03 PM
Thank you, I will pour over all this in the hopes of being enlightened.
Title: Re: Writing to the console (vb6)
Post by: Rabiat on March 11, 2008, 03:15:24 PM
Also these could be helpful.

http://www.xaprb.com/blog/2005/10/14/how-to-create-a-vb6-console-program/ (http://www.xaprb.com/blog/2005/10/14/how-to-create-a-vb6-console-program/)
http://www.dreamincode.net/forums/showtopic10002.htm (http://www.dreamincode.net/forums/showtopic10002.htm)

Title: Re: Writing to the console (vb6)
Post by: Berserker on March 11, 2008, 06:43:22 PM
Thank you for the links, I actually read over the 1st link yesterday when I googled, "write to console"+"VB6."  Anyway, I am thinking perhaps I will go a different direction with my roguelike, though I will look through Icey's source codes for Paprika and War of Wizards, etc, to see how he went about handling the writing to consol programming he did.

*starts down a long road.
Title: Re: Writing to the console (vb6)
Post by: deveah on April 03, 2008, 09:16:01 AM
Remember that Basic is a slow language, so you may experience refresh-like effects. I recomend using a C++ based console lib, or at least getting from vb6 to FreeBasic (basic language, c speed)