Solved

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

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
using web browser with BING 40 148
Spell Check in VB6 13 147
Macro Excel - Multiple If conditions 2 93
Access2016 ignore hyphen in data entry or searches 5 70
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

732 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