473,397 Members | 2,116 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Turn off Monitor using VB

The last time I did this was back in Visual Basic 6. Now I am using VB.NET
2005.

When I use my code now, it turns off the monitor just fine. However when I
move my mouse the monitor comes back on.
Back in VB6, I was able to turn off the monitor and it wouldn't come back on
until I issued the API command to turn in back on regardless of mouse
movement.
How do I accomplish this in VB.NET?

Thanks for any help in advance,
Micah Hastings

Jan 23 '06 #1
1 3535
I would think you'd need the same API from VB .NET.
"Micah Hastings" <Mh*******@rosebudtech.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
The last time I did this was back in Visual Basic 6. Now I am using VB.NET
2005.

When I use my code now, it turns off the monitor just fine. However when I
move my mouse the monitor comes back on.
Back in VB6, I was able to turn off the monitor and it wouldn't come back
on
until I issued the API command to turn in back on regardless of mouse
movement.
How do I accomplish this in VB.NET?

Thanks for any help in advance,
Micah Hastings

Jan 23 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Bathroom_Monkey | last post by:
Hi, I am building some php script that will backup a mysql database and store it locally. This script will be run on a spare computer I have in my office. I want the results of the backup to be...
3
by: Don | last post by:
Setting: chruch multimedia computer and projection system, with 2 display monitors. The projector is connected to monitor #2. Is there some way using JavaScript I can display a ".jpg" picture...
2
by: www.brook | last post by:
I have a VC++.net code. Two threads are created, one thread keeps appending elements to the queue, another keeps deleting an element from the queue. I tried to use monitor, but it seems that the...
12
by: Perecli Manole | last post by:
I am having some strange thread synchronization problems that require me to better understand the intricacies of Monitor.Wait/Pulse. I have 3 threads. Thread 1 does a Monitor.Wait in a SyncLock...
2
by: could.net | last post by:
I want to turn off my monitor from within python, How to do it? Thanks!
2
by: cruddpuppet | last post by:
My school computer has monitor issues (turns off every 2 minutes) and I have to constantly turn it back on. I don't have the software or the privelages to install the software needed to scan for...
13
by: Cross | last post by:
I am developing an application that will show movies. When you wach a movie, you do not want the Power Option "Turn off monitor" to be anabled. Is there anyway to fix this from VB.net? (note that I...
5
by: jbenner | last post by:
I have opened a PMR for this with IBM, and am not asking for advice from the DB2 DBA community. I am posting this as an FYI that DB2 Health Monitor, even at the latest version of DB2, still can cause...
17
by: mirainc | last post by:
Is there any code i can use in PHP or any language compatable with PHP to make the monitor turn off. you know just like it turns off automatically after its been on 15 mins (or whatever time the user...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.