Results 1 to 3 of 3

Thread: Can VB determine the desktop has changed?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2000
    Location
    norcross, ga, USA
    Posts
    82

    Can VB determine the desktop has changed?

    Say I took a screen capture of the desktop...is there a way to monitor the system to see if a user does anything to change the desktop.

    I'm certain there must be but it may be in the way of callbacks. I am just hoping there is some Magic API that somehow has an event that fires when the desktop changes(i.e. window moved, mouse moved, typing, focus, etc.)

    Any help is appreciated.

    C

  2. #2
    Frenzied Member MerrionComputin's Avatar
    Join Date
    Apr 2001
    Location
    Dublin, Ireland
    Posts
    1,616
    You could install a WH_JOURNALRECORD system wide hook to monitor the user's actions ...unfortunately this is onerous from VB without a third party dll - see AllApi.Net for how they do this.

    HTH,
    Duncan
    ----8<---------------------------------------
    NEW - The .NET printer queue monitor component
    ----8<---------------------------------------
    Now with Examples of use

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jan 2000
    Location
    norcross, ga, USA
    Posts
    82
    Thanks MerrionComputin...I forgot about the EventVb.Dll. Although, it has the event for JOURNALRECORD it fires all the time. I truly only need to know when the desktop "Visually" changes. I may be able to make it work though if I can't find a easier solution.

    Any more ideas?

    C

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