清除控制台的功能 [英] Function for Clear Console

查看:97
本文介绍了清除控制台的功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我在VB.Net中为清晰屏幕搜索功能,用于控制台

应用程序。


请帮帮我

解决方案

" sebplays" < SE ****** @ hotmail.com>在消息中写道

news:04 **************************** @ phx.gbl ... < blockquote class =post_quotes>

我在VB.Net中为清晰屏幕搜索功能,用于控制台
应用程序。




没有人。您需要转到非托管代码和Windows API。


Console类没有这方法。你必须为此编写一个

包装器并尽可能使用Windows API。


问候OHM

sebplays写道:



我在VB.Net中为清晰屏幕查看功能,用于控制台
应用程序。

请帮助我



*" sebplays" < SE ****** @ hotmail.com> scripsit:

我在VB.Net中为控制台
应用程序查看清除屏幕的功能。




< http:// www.google.com/groups?selm=O8NzFZQODHA.3768%40tk2msftngp13.phx.gb l>


-

Herfried K. Wagner [MVP]

< http://www.mvps.org/dotnet>


Hi,

I seach function for clear screen in VB.Net for console
application.

Please help me

解决方案

"sebplays" <se******@hotmail.com> wrote in message
news:04****************************@phx.gbl...

Hi,

I seach function for clear screen in VB.Net for console
application.



There isn''t one. You''d need to go to unmanaged code and the Windows APIs.


The Console class does not have a method for this. You would have to write a
wrapper for this and use the Windows API as far as I can tell.

Regards OHM
sebplays wrote:

Hi,

I seach function for clear screen in VB.Net for console
application.

Please help me



* "sebplays" <se******@hotmail.com> scripsit:

I seach function for clear screen in VB.Net for console
application.



<http://www.google.com/groups?selm=O8NzFZQODHA.3768%40tk2msftngp13.phx.gb l>

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>


这篇关于清除控制台的功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆