Hiding monitor from windows, working with it from my app only Hiding monitor from windows, working with it from my app only windows windows

Hiding monitor from windows, working with it from my app only


To do this, detach the monitor from the desktop. Detaching a monitor from the desktop prevents Windows from using it for normal UI.

Sample code for attaching and detaching monitors is in this KB article. Once you've done that, you can use the monitor as an independent display.


Building upon your own idea of using an external PC, and Mark's comment on using a VM as this "external" device:

You could buy an external USB-to-VGA video adapter like one of these, approx. USD40:

USB-to-VGA adapter

http://www.newegg.com/USB-Display-Adapters/SubCategory/ID-3046

Almost every VM software supports some kind of USB passthrough. VirtualBox is a great example.Only the VM sees the USB device, the host ignores it completely.So the steps would be:

  1. Buy said USB-to-VGA adapter.
  2. Configure slim a virtual machine and cook up a little utility to receive the images to show on he screen by network.
  3. Configure VirtualBox to connect the USB-to-VGA adapter directly to the virtual machine.


Here is another simple solution to monitor you application.

Your app should provide an API monitor service, served as HTTP on any port you want (for example http://{userip}:{port}/{appname}/monitor).

Your app monitors itself, keeping monitoring data in memory, in a local file or a database, hidden from the user. The monitor API serves this data to any device you want that has a browser (tablet, phone, netbook, android mini-PC, low cost linux device, any PC or any OS... from the internet, your LAN or direct connection to the PC hosting the app).

Pros:

  • Data to monitor is collected (and served) within your app : only one executable
  • Display can be done remotely : from anywhere !
  • Access security easily done using standard HTTP authentication mecanisms
  • You can monitor several applications (ie several monitoring URLs)
  • You are free to use any browser to monitor (even a local window browser on the same PC for testing purposes)
  • Monitor from any hardware and OS you want
  • Simple and flexible !

Cons:

  • There is few, but tell me...

Choosing this solution depends on what kind of data you need to monitor (text, images, video...), and also on what is the refresh rate you expect depending on your system network configuration.

Hope it helps :)