473,404 Members | 2,195 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,404 software developers and data experts.

getLastInputInfo

I have a windows service that starts a process if there hasn't been any user
activity for X seconds. I'm trying to use getLastInputInfo(). It works fine
if I call it from a form but it returns false if I call it from a windows
service.

Any ideas?

May 23 '06 #1
0 1893

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

Similar topics

6
by: Bart Nessux | last post by:
Hello, Auditors want us to log out a user if the computer they are logged onto has been unused/inactive for a set period of time. It's trivial to logout the user, but we're having trouble...
1
by: Dayne | last post by:
I need to implement a time-out form under .net(vb.net). So far I have been able to creat a child thread which checks to see when the application exceeds a set idle time. .. My problem is the fact...
1
by: Danya Samuel via .NET 247 | last post by:
Can anyone tell me how to track the system's idle time using vb.net? -------------------------------- From: Danya Samuel ----------------------- Posted by a user from .NET 247...
1
by: TOM | last post by:
Does anyone know how to lock out the form after 15 min. has passed with no mouse movement or activity in the program? I am using the timer and just resetting the interval when the mouse moves...
3
by: Thomas Beyerlein | last post by:
I have been trying to us the GetLastInputInfo function for vb.net but I can not seam to find what I need to import or what ever to get it to work. Does any one have any sample code or something. ...
7
by: iwdu15 | last post by:
how can i tell if my system has gone idle? then how can i execute a command accordingly? thnks
2
by: Jesper | last post by:
Hi, How do you detect if there is (or not) user activity on a computer. Probably the same technique as used in the screen saver. Can I subscribe to some OS event. Regards Jesper, Denmark.
1
by: Polymorpher | last post by:
Hi, I built an event timer for my application, but I keep getting errors when i try to run it...bellow is my code, and then the error...If you have any sugestions please let me know...There error...
3
by: Tomas | last post by:
I have done a small program in VB.NET that uses the GetLastInputInfo function to retrieve the time of the last input event. It checks every second and it works well in Windows XP. However, when I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.