471,874 Members | 1,778 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,874 software developers and data experts.

Clearing the DOS screen?

I have a Visual Basic menu script that I am trying to get to clear the
dos screen it is running in. Basically, you select an option from the
menu, and after the processing is complete, a "press enter to
continue" comes up. When enter is pressed I'd like the DOS screen the
script is running in to clear (and the menu to be displayed again).
Is there any way to do this? I've tried many different things, but I
seem to have trouble actually accessing the cmd process my script is
running in, it always seems to spawn a new process.

Thanks in advance for any help you might provide!
Jul 17 '05 #1
1 3151
if I understand your question correctly, this answer should be of help
to you.

Something you *could* try is incorporating the CLS command into the code
when you actually want to return to the menu.

Timmah wrote:
I have a Visual Basic menu script that I am trying to get to clear the
dos screen it is running in. Basically, you select an option from the
menu, and after the processing is complete, a "press enter to
continue" comes up. When enter is pressed I'd like the DOS screen the
script is running in to clear (and the menu to be displayed again).
Is there any way to do this? I've tried many different things, but I
seem to have trouble actually accessing the cmd process my script is
running in, it always seems to spawn a new process.

Thanks in advance for any help you might provide!

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Miki Tebeka | last post: by
reply views Thread by Gary | last post: by
1 post views Thread by raghavendra | last post: by
1 post views Thread by asdf | last post: by
2 posts views Thread by Slack | last post: by
10 posts views Thread by mwt | last post: by
65 posts views Thread by Leslie Kis-Adam | last post: by
reply views Thread by YellowAndGreen | last post: by
reply views Thread by zermasroor | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.