检查监视器是从Visual Basic打开还是关闭 [英] Check if monitor is on or off from Visual Basic

查看:107
本文介绍了检查监视器是从Visual Basic打开还是关闭的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我正在创建一个用于关闭显示器功能的工具,

我应该能够打开或关闭显示器的代码.我只有打开或关闭显示器的解决方案,

任何人都可以帮助我,如何在打开或关闭显示器的情况下进行检测?

rajgoaj@gmail.com
>
谢谢

Hi,

I am creating a tool for monitor turn off function,

I should be able to get wether monitor is switched on or switch off from my code.  I got solutions only to switch on or switch off the monitor,

any one can help me how can we dedect if a monitor is turned on or off?

rajgoaj@gmail.com

Thanks

推荐答案

我不知道您是否已经看到此链接,但看起来它可以满足您的要求:

http://www.codeproject.com/KB/vb/Monitors.aspx

我认为无法确定状态.
I don't know if you've seen this link already, but it looks like it could do what you are asking:

http://www.codeproject.com/KB/vb/Monitors.aspx

I would assume it's not possible to determin the state.


这篇关于检查监视器是从Visual Basic打开还是关闭的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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