Solved

clear screen, please help

Posted on 2004-10-13
3
168 Views
Last Modified: 2013-11-13
I used Windows API in my vb.net program to clear screen.
It works from telnet session using ANSI terminal. But when I executed the same program  using a vt220 emulation terminal, the user input will not be cleared.
Any help will be appreciated...

Thanks.

Ann

0
Comment
Question by:weizhang700
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
meidanze earned 500 total points
ID: 12309364
What are the escape you are using?
try ESC+[H+ESC+[J.
when escape is 27 dec or 33 octal.
0
 

Author Comment

by:weizhang700
ID: 12310238
Thanks for your reply.

I use console.writeLine("\033[H\033[J") in vb.net, but it prints the the exact string.
Any idea for that?

Thanks again for your help.

Ann
0
 

Author Comment

by:weizhang700
ID: 12385363
Thanks. Fixed.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question