Solved

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

Posted on 2006-11-23
2
173 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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.
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…
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…

724 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