Solved

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

Posted on 2006-11-23
2
171 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

830 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