Detect all user inputs with VB6.

Posted on 2003-02-26
Medium Priority
Last Modified: 2010-04-07
Hi, experts.

I am developing an application for a kiosk machine which has a video playing function. It works like this, when the machine is idle for some time e.g. 2 mins, the video start playing. Upon user input is detected, the video stops and screen return to the kiosk menu.

I plan to do it this way. Set a timer to launch the video displaying function. Everytime an user input is detect, the timer is reset. While if the video is playing when user input is detected, the program will close the video playing function and return to the kiosk application.

The problem for is that there are several applications running on the machine, and some are external application that I cannot modify.

So, I need a way to detect the mouse move, mouse key press and keybroad key press for all applications (including external applications). Please advice, it would be okay if you suggest another model or give hints about which functions or api to use. Thanks in advance.


Question by:ErnestMH
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
LVL 28

Accepted Solution

AzraSound earned 600 total points
ID: 8031229
"Check for User Activity Throughout the System"

Expert Comment

ID: 8031368
I would write a program that would run in the background as the timer clicks away. Then when times up boom, the progam pops up displaying the video and the video is in the program. Thus the key pressed will (unless someone hits Alt-Tab, ect which can be disabled) be pressed into the form and make it realize it needs to hide again. If you don't understand this I can throw up some code.

Featured Post


Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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 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…
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…
Suggested Courses
Course of the Month15 days, 8 hours left to enroll

743 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