I am trying to make a screen saver work in WindowsXP.
Right at the start of my program I have the line
c$=CommandLine()
Print c$
delay 100....
....rest of program here
If I set a command line parameter from inside Blitz+ then it prints the result. If I run it as a .scr from the WindowsXP Display Properties dialogue then there are no parameters printed. I thought that windows was supposed to pass a command line parameter to the .scr depending on the button pressed in the screen saver dialogue box. ie, Settings, Options, Password. I may have got the wrong end of the stick but I have looked around and found a few articles on this subject and this is all I have come up with.
This probably isn't a Blitz specific problem but if anyone has any experience in this area I would be happy to hear from you... taa.
------------------------------------------------------
"A man who works for nothing will get a job anywhere."
Right at the start of my program I have the line
c$=CommandLine()
Print c$
delay 100....
....rest of program here
If I set a command line parameter from inside Blitz+ then it prints the result. If I run it as a .scr from the WindowsXP Display Properties dialogue then there are no parameters printed. I thought that windows was supposed to pass a command line parameter to the .scr depending on the button pressed in the screen saver dialogue box. ie, Settings, Options, Password. I may have got the wrong end of the stick but I have looked around and found a few articles on this subject and this is all I have come up with.
This probably isn't a Blitz specific problem but if anyone has any experience in this area I would be happy to hear from you... taa.
------------------------------------------------------
"A man who works for nothing will get a job anywhere."