ScreenSaver Configuration dialog command line argument

From: DanielB (danielb_at_nospam.net)
Date: 12/18/04


Date: Sat, 18 Dec 2004 19:07:54 +0000

Does anyone know what the command line argumentto launch a
screensaver's options/configuration dialog is on Windows XP Pro?

>From most of the example source code I can find on the web, it would
seem to be '/c' but that does not seem to work for the screensaver I
have written. I've tested my code and if '/c' is the first argument
then the options dialog is launched but Windows XP does not seem to be
supplying the '/c' argument when I right click on my .scr file and
select the 'Configure' option from the menu.

After sticking an throw Exception call right at the start of my
screensaver's main function, then running the 'Configure' option from
the right click menu for the .scr file, then attaching my debugger to
the screensaver when it throws the exception, it would appear NO
arguments are being passed to the screensaver (args.length=0). I take
it this means that windows must try and launch the configuration
dialog some other way? If so does anyone know what the other way is?

I'm the screensaver is written in C# and I am running Visual Studio
.Net 2003 and Windows XP Pro.

Cheers,

Danielb



Relevant Pages

  • RE: Programs Wont Launch
    ... I am having the same problems I think it may be one of the latest Windows ... updates causing it as I formatted my drive and reinstalled ... >> Paint Shop Pro 9 does not launch at all but an entry does appear in the Task ...
    (microsoft.public.windowsxp.help_and_support)
  • ScreenSaver configure command line argument
    ... screensaver's options/configuration dialog is on Windows XP Pro? ... the screensaver when it throws the exception, ... it this means that windows must try and launch the configuration ... .Net 2003 and Windows XP Pro. ...
    (microsoft.public.dotnet.general)
  • Re: ScreenSaver configure command line argument
    ... DanielB wrote: ... > screensaver's options/configuration dialog is on Windows XP Pro? ... > the screensaver when it throws the exception, ... > it this means that windows must try and launch the configuration ...
    (microsoft.public.dotnet.general)
  • Re: Windows Xp Pro {General}
    ... > I just downloaded updates to my Windows XP Pro and, now, ... Look at your screensaver ...
    (microsoft.public.windowsxp.general)
  • RE: Problems with my Windows XP Pro Installation
    ... Actually thier is no xp pro upgrade from xp home.The "upgrade" is for former ... > Just recently I installed Windows XP Professional. ... the screensaver, the shutdown feature (I have to use the ...
    (microsoft.public.windowsxp.setup_deployment)