• Advertisement
Sign in to follow this  

ShellExecute Screensaver Properties[SOLVED]

This topic is 4356 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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]

Share this post


Link to post
Share on other sites
Advertisement
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

Share this post


Link to post
Share on other sites
Hi,
I've figured it out. I used CreateProcess. Thanks
Levi

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement