Text console cursor position manipulation

DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 5 of 5

Thread: Text console cursor position manipulation

  1. #1
    Join Date
    Oct 2005

    Text console cursor position manipulation

    For a standard text console and platform independent code, is there a way to move cursor backwards on screen? something like showing progress.

    Processing: 50%

    how would I change just the number as it increases?

    Last edited by rssmps; 12-14-2005 at 02:01 PM.

  2. #2
    Join Date
    Nov 2003
    Not really. The problem is that most Console Apps treat the diaplay as an output file, to which you can write incrementally, that is, move from one character to the next one, but not backwards. You either need to use a dedicated library of an SDK of some sort that gives you more control over the display device.
    Danny Kalev

  3. #3
    Join Date
    Oct 2005
    ok, that's what I thought.
    I had searched the net and could not find anything realated to it at all.
    I was just trying to get cute with the code and put in some extra complexity. :D
    I'll just stick with "Processing........done"

  4. #4
    Join Date
    Nov 2005

  5. #5
    Join Date
    Oct 2005
    only problem is that it's not platform independent.

Similar Threads

  1. Importing text file using schema.ini
    By Kevin in forum VB Classic
    Replies: 3
    Last Post: 12-05-2005, 06:25 PM
  2. Script for scrolling
    By Mark in forum Web
    Replies: 3
    Last Post: 08-30-2001, 11:45 AM
  3. Double Text 1.0
    By George Gilbert in forum vb.announcements
    Replies: 0
    Last Post: 08-19-2001, 11:34 AM
  4. Change text color in Console Application
    By Richard in forum .NET
    Replies: 1
    Last Post: 01-23-2001, 06:02 AM
  5. Text box text manipulation
    By Chris in forum VB Classic
    Replies: 2
    Last Post: 03-31-2000, 11:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center