process.start with command switch

SPiZ

New member
Joined
Mar 19, 2006
Messages
2
Programming Experience
3-5
Hello, I am trying to allow a user to access the options of a screensaver I made by clicking on a button on a form in a related application. To do this the /c switch must be sent into the screen saver upon startup.

I am using this:

Process.Start(Environment.SystemDirectory + "\screensaverName.scr", "\c")


But it isnt working. All it does is launch the screensaver. I want them to be able to change the settings for my screensaver without having to right click on the desktop, choose screensaver then click the settings tab, (too clunky). Any suggestions??
 
You say you want to start with "/c" switch, but do "\c" instead.
 
Ive tried both ways.....neither works

It works this way:

Shell(Environment.SystemDirectory +
"\blah.scr /c")

but I want to take advantage of some of Process's features. Any suggestions?
 
Last edited:
Back
Top