469,081 Members | 1,789 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,081 developers. It's quick & easy.

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 3100
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 zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.