Detecting a live VNC session.

Mark A. Bertenshaw MarkB "at" leax.co.uk
Thu May 27 19:08:00 2004


Hi -

I am currently working on an application that is designed primarily to
access via a touchscreen PC.  However, there are a few configuration
options which require a keyboard.  It is possible to detect that a
keyboard is connected using WMI.  However, we are hoping not to have to
use a separate keyboard, and instead connect to the machine via a
network cable, and use VNC to control the current session.
Unfortunately, I can't use WMI in this instance (although I was
wondering whether VNC uses some sort of virtual keyboard device).  Is
there a standard way of determining whether the WMI session is active?

--
Mark Bertenshaw