Solved

clear screen, please help

Posted on 2004-10-13
3
164 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

RIA (Rich Internet Application) tools are interactive internet applications which have many of the characteristics of desktop applications. The RIA tools typically deliver output either by the way of a site-specific browser or via browser plug-in. T…
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
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 …

863 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

22 Experts available now in Live!

Get 1:1 Help Now