473,395 Members | 1,647 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,395 software developers and data experts.

Avoid screen saver activation

Hi!

I need help to simulate programmatically user interaction on WinNT 4.0, to
avoid screen saver activation.

I try with key injection event.

SendInput API and keybd_event API work correctly with Win2000 and WinXP
system. Screen saver don't start.

Under WinNT 4.0 these API, inject key event correctly at active application
(ex. notepad) but system screen saver start !!!! :(

I can use another windows API to avoid screen saver and simulate a user
interaction ? I can use dos-bios interrupt for inject key avent under
WINNT4.0 ? I can use a WINNT API to call bios interrupt routine?

Thanks for your help!!!

Jul 23 '05 #1
2 2490

"Card.Starzinger" <ca************@yahoo.it> skrev i en meddelelse
news:TS***********************@news4.tin.it...
Hi!

I need help to simulate programmatically user interaction on WinNT 4.0, to
avoid screen saver activation.

I try with key injection event.

SendInput API and keybd_event API work correctly with Win2000 and WinXP
system. Screen saver don't start.

Under WinNT 4.0 these API, inject key event correctly at active
application
(ex. notepad) but system screen saver start !!!! :(

I can use another windows API to avoid screen saver and simulate a user
interaction ? I can use dos-bios interrupt for inject key avent under
WINNT4.0 ? I can use a WINNT API to call bios interrupt routine?

Thanks for your help!!!

Off-topic. try e.g. comp.os.ms-windows.programmer.win32.

/Peter
Jul 23 '05 #2
Card.Starzinger wrote:
Hi!

I need help to simulate programmatically user interaction on WinNT 4.0, to
avoid screen saver activation.


Wouldn't it be simpler to temporarily switch the screen saver off?

Jul 23 '05 #3

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

Similar topics

3
by: Thom Little | last post by:
How do I invoke the current screen saver with C#? Where did you find the information on how to do it? -- -- Thom Little -- www.tlaNET.net -- Thom Little Associates, Ltd. --
2
by: HumptyDumpty | last post by:
Does anyone know if there is a problem with re-enabling the Screen Saver after it has been disabled programmatically. I am using the SystemParametersInfo function within User32.dll, and have...
1
by: Daniel | last post by:
Hi all, i have a doubt related to the screen saver ability. After developing the asp.net webform, can i add screen saver ability in this webform? which means, i open the asp.net webform, after a...
0
by: Jeffery Tyree | last post by:
I have a machine that will be used to demo some Excel spreadsheets at a convention. Because I did not author the spreadsheets and attendees will be allowed to play with the spreadsheets, I needed...
2
by: Claire | last post by:
Hi, Our software runs on a XP system attached to a touch screen monitor and smartcard USB reader. We run our own simple corporate screen saver. When the screen is touched the screen saver...
1
by: ashwiniappajigowda | last post by:
Hi, I have an simple MFC dialog based application. On launch of that application 'Password protected screen saver' is not getting activated after the screen saver timeout. If 'On resume,...
3
by: KK | last post by:
Dear All I want to prevent the screen saver getting activated when my application is running. I have the following code, but still screen saver is activated. What corrections I should make to...
0
by: rehanrana | last post by:
I built application in VB6, my application appear in system tray, when I double click on icon of my application, it run screen saver, my screen saver shows images and news. Screen saver...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...

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.