Re: Here's a tough one



Take a look at some of the VB sites included in http://www.mvps.org. Randy
Birch is one I person remember who had a lot of API examples, but he's
certainly not the only one. Unless your needs are exceedingly exotic,
there's a good chance someone has already done the heavy lifting of
translating to VB.

Larry Linson
Microsoft Access MVP and long-time classic VB enthusiast

"Tony Proctor" <tony_proctor@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:f19l5c$6jp$1@xxxxxxxxxxxxxxxxxxxxxxxxx
I don't know how to do this but it would certainly involve low-level
Windows
APIs, i.e. there's nothing inherent in VB that would do it. I would
recommend asking in a more specialised Windows O/S group (sorry, not sure
which off-the-cuff) and then translating the solution into VB

Tony Proctor

"Jeremiah D. Seitz" <jseitz@xxxxxxxxxxxxxxxxx> wrote in message
news:m8re33ha1ut9o29622stka45dae3dj9nn2@xxxxxxxxxx
Hiya all,

Does anyone know how to turn a single monitor on and off? I'm
not talking about power management, God knows I've searched those
functions. I mean adding a monitor to / removing a monitor from the
desktop in a multihead environment.

J.
Jeremiah D. Seitz
Omega Techware
http://www.omegatechware.net




.



Relevant Pages

  • RE: SystemParametersInfo API for screen blanking
    ... Basically the API SendMessage(HWND_BROADCAST, WM_SYSCOMMAND, ... monitor after the timeout setting in Control Panel. ... code snippet below will not turn off the monitor: ... snippet works well on my Win2003 SP1 machine: ...
    (microsoft.public.win32.programmer.kernel)
  • Re: API to change from dual screen mode to single screen?
    ... I'm sure there's an api to turn on and off the use of the second monitor, ... > change my desktop from extended over two screens to a single image on ... > panel when you click on the Extend my Windows desktop checkbox.) ...
    (microsoft.public.win32.programmer.ui)
  • Re: Program to let me know which API and functions are called?
    ... Spy++ monitors processes and doesnt let me know ... which API functions are called. ... a hook into program for one or more of API functions. ... So thats why I need a program that can monitor API calls. ...
    (microsoft.public.vb.winapi)
  • Re: Turn off Monitor using VB
    ... I would think you'd need the same API from VB .NET. ... > When I use my code now, it turns off the monitor just fine. ... > Micah Hastings ... Prev by Date: ...
    (microsoft.public.dotnet.languages.vb)
  • Re: [9fans] 9vx
    ... On Jun 27, 2008, at 7:13 PM, Skip Tavakkolian wrote: ... If you call translating the X API to Win32 or C++ .NET feasible, ...
    (comp.os.plan9)