Solved

clear screen, please help

Posted on 2004-10-13
3
163 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
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
meidanze earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks. Fixed.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

I know it’s not a new topic to discuss and it has lots of online contents already available over the net. But Then I thought it would be useful to this site’s visitors and can have online repository on vim most commonly used commands. This post h…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

743 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now