-
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.
-
-
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.