Results 1 to 27 of 27

Thread: [RESOLVED]Screenshot, without screen?

Hybrid View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 2006
    Posts
    178

    Re: Screenshot, without screen?

    There are also other programs running, possibly messages to take care of, Windows Update bothering me, etcetera. A screenshot certainly is a lot better than creating a database of all those things.

  2. #2
    Karen Payne MVP kareninstructor's Avatar
    Join Date
    Jun 2008
    Location
    Oregon
    Posts
    6,714

    Re: Screenshot, without screen?

    Sorry this is not much help to resolve your question but perhaps might assist in why various code is failing.
    I am wondering if your wrote the results of the following to a file and then see what the reported width and height is? Since there is no monitor I would guess a) an exception is thrown or b) width and height are 0.


    Code:
            System.Windows.Forms.Screen.PrimaryScreen.Bounds.Width
            System.Windows.Forms.Screen.PrimaryScreen.Bounds.Height

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