ShellExecute Screensaver Properties[SOLVED]
Hi,
I'm trying to get my program to open a screensaver's configuration box. I'm trying to use ShellExecute with "-c" passed as the file argument, and it's not working. [sad] How would I do this? I really have no idea where to start.
Thanks
Levi
[Edited by - levjs on March 17, 2006 10:34:02 AM]
It isn't returning an error, it's just launching the screensaver in regular mode. I don't know why. Here's the line.
ShellExecute(NULL,"open","C:\\WINDOWS\\Screensaver.scr","/c","C:\\WINDOWS",SW_SHOWNORMAL);
I've also tried "-c" as the argument, and it still launches it in normal screensaver mode. I really need to figure this out! : )
Might I be able to use CreateProcess to do this?
Thanks
Levi
ShellExecute(NULL,"open","C:\\WINDOWS\\Screensaver.scr","/c","C:\\WINDOWS",SW_SHOWNORMAL);
I've also tried "-c" as the argument, and it still launches it in normal screensaver mode. I really need to figure this out! : )
Might I be able to use CreateProcess to do this?
Thanks
Levi
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement