Solved

clear screen, please help

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

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

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.
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
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…
Six Sigma Control Plans

724 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