Telnet: Grabbing Bytes Previously Written During Next Read?

  • Thread starter Thread starter pbd22
  • Start date Start date
Thanks Pete.

I am getting there thanks to your help.

Glad it's working out. You're welcome.
I have some nick-knacks that are, it seems,
not that trivial.

1) how do I highlight a line?
2) how do I change background color?
3) how do I change font color?
4) how do I clear the screen (aka. DOS "cls");

These are all new questions, and deserve an all-new thread.

Hint: when you repost those questions, you should be clear about how you
are displaying the text. There's a huge difference between doing those
kinds of things in a console window and doing them in a normal Forms
application window. For the former, see the Console class (it has
properties for setting font foreground and background, and a method for
clearing). For the latter, you can use a RichTextBox as a quick-and-dirty
implementation, or you can handle all of the drawing yoursself (more
complicated, but gives you more control and in the context of something
like this where the text is constantly changing, generally will provide
better visual quality and performance).

It may be you can get started with the above information. If you need
more help, start a new thread with specific questions.

Pete
 
4) how do I clear the screen (aka. DOS "cls");

Aha, another one missing chr$(12)... in this case its some <esc>[2J or
something... who knows, who cares
what do I know... anyone seen chr$(12)
//CY
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top