Solved

Using VB6 how do I remove the screen saver....

Posted on 2006-11-23
2
169 Views
Last Modified: 2010-04-30
I have a program written in VB6 under WinXP which is controlling a machine. When the machine is left idle after the set period the screen saver becomes active. As the machine runs without a keyboard or mouse, how do I remove the screen saver when the program detects a new test has started ?

Thanks in advance
0
Comment
Question by:Glassglimmer
2 Comments
 
LVL 10

Accepted Solution

by:
Kinger247 earned 125 total points
ID: 18001845
Hi Glassglimmer, see this thread : http://www.experts-exchange.com/Programming/Q_22057703.html

its essentially the registry key :
HKEY_CURRENT_USER\Control Panel\Desktop\ScreenSaveActive  =  (set to zero '0' for off)
0
 

Author Comment

by:Glassglimmer
ID: 18002804
Thanks Kinger247 - will give it a go !
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
add text to end of existing text in file 16 69
How to debug this code 7 56
Access Object Property from VBA Module in Excel 2010 2 27
MsgBox 4 47
Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now