Results 1 to 2 of 2

Thread: How to intercept the screen saver ?

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2000
    Location
    West Islip, NY, USA
    Posts
    14

    Post

    Hi,

    I would like my app to intercept the initiation of the screen saver. In otherwords, I want to have my app executed instead of the screen saver. I basically want to detect no activity and slap the user in the face to wake him up. Can ne1 show me how to set this up ?

    Thanx...Lou


    ------------------
    Lou Santospirito
    LSDP Consulting Services, Inc.
    [email protected]

  2. #2
    Frenzied Member Buzby's Avatar
    Join Date
    Jan 1999
    Location
    UK
    Posts
    1,670

    Post

    Why not create your app as a screensaver. You can do that in VB.
    Create a form, set it's windowstate to maximised. Create a mousemove and a keydown event to unload and end the program.
    On the project properties change the project name to

    SCRNSAVE:[name of screensaver]

    eg; SCRNSAVE:Flying Windows

    (it may actually be the App Title you need to change on the Make tab of project properties - I haven't done this for ages!)

    Make the .EXE but save it as [filename].SCR and save it into the Windows directory. Voila - you have a screensaver.

    For more info, I know there is an article on the Microsoft Knowledge Base all about making screensavers with VB.



    ------------------
    Mark "Buzby" Beeton
    VB Developer
    [email protected]



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