JoeRetro #1 I compiled it, installed it, and got the same results you did. I'm not sure why the appdata is null when the screensaver is activated by the OS. I would use the registry. That's what I use for my screensavers.