Results 1 to 1 of 1

Thread: multiple monitor detection and positioning

Threaded View

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    multiple monitor detection and positioning

    i have a couple of examples from microsoft and vbaccelerator, using classes and APIs

    the microsoft download would not run correctly on my machine as the API declare was not quite correct, maybe because it was written in VB4

    i tried a simpler code getting the monitor info from the registry, i have only tested this using one setup, 2 monitors on a single video card, extended monitor to the left of and slightly higher than primary monitor

    i would be grateful for any other test results, including registry info for test machines, if code fails to recognise the extended desktop

    moving the form from 1 monitor to the other is not positioned exactly correct, but seems closer than some other code i tested
    Attached Files Attached Files
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width