|
The display drivers can get the EDID data from the montitor, including native resolution, without the monitor being turned on.
|
|
|
|
|
Dave Kreskowiak wrote: The display drivers can get the EDID data from the montitor, including native resolution, without the monitor being turned on.
That's what I thought as well. As long as the monitor is plugged in, it can be queried for this information, but chances are that most monitors will turn on automatically when a signal from the video adapter is sensed, so it is a moot point.
I wasn't, now I am, then I won't be anymore.
|
|
|
|
|
PogoboyKramer wrote: but chances are that most monitors will turn on automatically when a signal from the video adapter is sensed
Not unless they're alreday actually powered on. They also only go "off" automatically when the computer goes into "sleep" mode.
.45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
|
|
|
|
|
Noted, and I stand corrected.
I wasn't, now I am, then I won't be anymore.
|
|
|
|
|
Just out of curiosity - what are you actually trying to do?
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
The only way I can solve the problem, at this point, is to stop the app when monitor is powered on and restart it when the monitor is powered off. I've previously explained that my boss doesn't want users to see the 'bot' in action.
|
|
|
|
|
You should tell your boss not to sell functionality that he doesn't know is achievable
|
|
|
|
|
I have already told him... but unfortunately for me he doesn't understand 'no' as an answer.
|
|
|
|
|
After you've made sure the monitor is off, will you need to switch the mouse off too? And the keyboard? Because they would (probably more than the monitor) interfere with the running process?
|
|
|
|
|
Yes, you hit the point... I'm currently googling for this too. I asked for controlling the monitor because I thought this was the most difficult problem.
|
|
|
|
|
how to transmit msgs from pc to mobiles in c#.Please send me the source code for this task.
|
|
|
|
|
My vote as abuse:
- Effective Repost - Attempt to get answer quicker
- No information given about what has been tried or what the problem is: we will assume you have done nothing - read the FAQs
- Asking for source code. We are not here to do your work for you - read the FAQs
|
|
|
|
|
Repost.
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
Visit the Hindi forum here.
|
|
|
|
|
can any one send the code snippet for how to transmit msgs from pc to mobiles in c#
|
|
|
|
|
public void Main()
{
Message msg = new Message();
Mobile mobile = new Mobile();
msg.SendToMobile(mobile);
}
Now all you have to do is fill in the trivial implementation details. It would be wise also to wrap the SendToMobile call in a try/catch block.
Phil
The opinions expressed in this post are not necessarily those of the author, especially if you find them impolite, inaccurate or inflammatory.
|
|
|
|
|
Hi,
is there a way to prevent PC monitor from powering on while my .NET application (C#) is running? I need this feature because I don't want users could see what's happening on the screen during program execution. Moreover, is it possible to prevent other to share desktop by using apps like TeamViewer, etc.? And if yes, how?
Any help would be appreciated. Thank you in advance.
|
|
|
|
|
IngValentini wrote: is there a way to prevent PC monitor from powering on while my .NET application (C#) is running?
No, but you could hide your application, or try to hide the desktop. Or run under your own user-context with your own credentials.
IngValentini wrote: Moreover, is it possible to prevent other to share desktop by using apps like TeamViewer, etc.? And if yes, how?
I'd go for the firewall, and temporarily block everything.
I are Troll
|
|
|
|
|
Thank you for your answer... but my application is based on a "bot" which moves the mouse pointer, clicks in various parts of the screen, sends keyboard characters and so on. Therefore I cannot hide it... this is the problem! As regards desktop sharing, my application is based on .net remoting and sharing of a sql database over a local network, so blocking the firewall is impossibile.
|
|
|
|
|
I am a little confused by this thread.
Your subject line is "Prevent monitor from power on". That's OK, I don't think that it's possible, but it's OK.
You then say that you cannot 'hide' your app/the desktop because it moves the mouse pointer etc. etc. What's the difference? If the monitor has been prevented from powering on they wouldn't be able to see it anyway, so why not just 'hide' it in some way? Same result.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
A better analysis of the problem would be to notify the user that you are about to run a macro and not to touch the keyboard until completed. Once completed, notify the user that the macro has completed
Under no circumstances turn off the monitor. As soon as a user sees that, they will freak out.
|
|
|
|
|
I had already thought at this solution, but this is unfeasible because the 'bot' is performed by a windows service which is running continuously (it's a sort of 'polling' of one hundred rows in a table, linked to the clima units). It never stops working, and it's able to restart itself in case of faults. It's a brain teaser!
modified on Monday, November 29, 2010 8:57 AM
|
|
|
|
|
If you have a service that can restart itself, you need to contribute an article to Codeproject. And then email me. I'd like to see that.
|
|
|
|
|
try disabling + enabling the monitor device in device manager
google[^]
|
|
|
|
|
thank you, I will look around...
|
|
|
|
|
my messenger have eboard and this board I want to appear in every one in group that contact in same session
how can I do it in WAN
|
|
|
|