Author Topic: Writing to the console (vb6)  (Read 23249 times)

Berserker

  • Newcomer
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Writing to the console (vb6)
« 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?

beam

  • Newcomer
  • Posts: 17
  • Karma: +0/-0
  • haw
    • MSN Messenger - winkerbeam@hotmail.com
    • AOL Instant Messenger - robotscomputers
    • View Profile
    • justinpoliey.com
Re: Writing to the console (vb6)
« Reply #1 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

Berserker

  • Newcomer
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Writing to the console (vb6)
« Reply #2 on: March 11, 2008, 03:11:03 PM »
Thank you, I will pour over all this in the hopes of being enlightened.

Rabiat

  • Rogueliker
  • ***
  • Posts: 88
  • Karma: +0/-0
    • View Profile
« Last Edit: March 11, 2008, 06:16:57 PM by Rabiat »

Berserker

  • Newcomer
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Writing to the console (vb6)
« Reply #4 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.

deveah

  • Newcomer
  • Posts: 4
  • Karma: +0/-0
    • View Profile
    • Email
Re: Writing to the console (vb6)
« Reply #5 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)