Results 1 to 3 of 3

Thread: screensaver on win2000

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2000
    Location
    India
    Posts
    298

    Red face

    Hi,

    I've created a screensaver using VB and its working fine on win95. But when I try to run it using win2000, it doesnt work properly.

    I've used the VerifyScreenSavePwd API to verify the screensaver password in the QueryUnload event of the screensaver form and the PwdChangePassword API to change the password.

    Using win2000:
    When I preview the screensaver in the Display properties window, when I try to stop the preview, I get an error

    "Run-time error 53 cannot find password.cpl"

    My guess is that the VerifyScreenSavePwd API is not supported on win2000.

    How do I enable password protection on win2000? Any ideas???

    Thanx a ton.


  2. #2

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2000
    Location
    India
    Posts
    298

    Red face

    anyone??????????

  3. #3
    Need-a-life Member Mc Brain's Avatar
    Join Date
    Apr 2000
    Location
    Buenos Aires, Argentina
    Posts
    6,808
    This is what I found from http://www.wischik.com/scr/howtoscr.html . I couldn't try it yet, but I guess you
    should not call the VerifyScreenSavePwd if you "find out" your saver is running in an
    NT Platform (Win2000 has an NT platform)



    Version differences between '95, Plus! and NT


    Windows NT does all saver password management itself, and closes savers automatically in response
    to keyboard or mouse events. Interactive savers need special precautions to prevent NT from doing this.
    Under '95 and Plus! the saver must do all the password management itself. Plus! introduced some new saver
    features: less sensitivity to mouse movement while the saver is running; and hot corners which can start the
    saver immediately or prevent it from running at all. Special code is needed to handle these features; and
    you can use these features under '95 and NT as well as Plus! See also Plus! configuration, Portability
    between '95 and NT.
    Emiliano F. Martín


    If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
    Encourage the person who helped you to keep doing it, and give him the points he deserves.


    MP3 Organizer: Freeware to logically organize all your MP3s.

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