Help - where is ScreenSaver config?

I'm very new to VB.Net and am using the ScreenSaver starter project to help me learn. However I can't get the config/options form to display when I run the project. Even with /c specified as a parameter. If I Build I get a .scr file but not a .scr.config as the documentation says. Has anyone any idea how I can access / include the config form in my project?

Thanks in advance
Jon

[390 byte] By [JonDrake] at [2007-12-16]
# 1
Hi Jon,

I just tried the following on VB 2005 Beta 2, and it worked for me:

1) create new project -> screen saver starter kit (let's try one from scratch)
2) open the project designer: double-click on MyProject
3) click on the Debug tab
4) type the following into the command line arguments textbox
/c
5) Save and close the project designer
5) Press F5

Could you try this and let me know if it works?

thanks,
Paul

PaulYuk_MS at 2007-9-9 > top of Msdn Tech,Visual Basic,Visual Basic General...
# 2
Hi Paul,

Thanks for your help. I tried a fresh project from scratch and this moved me on a little - it worked in the way you described. I then did a Build and found that if I run ssnews.scr (in the bin directory) with a /c parameter, it also works i.e. brings up the options dialog.

However there is no ssnews.scr.config file that the documentation describes, and if I put ssnews.scr in my system32 directory and try to use Configure from the Display Properties / Screen Saver tab dialog, I get an error "Invalid command line argument :/c:133618".

Any ideas please?

Thanks
Jon.

JonDrake at 2007-9-9 > top of Msdn Tech,Visual Basic,Visual Basic General...
# 3
Open MyEvents.vb

and change select case arg

to

Code Snippet
Select Case Microsoft.VisualBasic.Left(arg, 2)
element109 at 2007-9-9 > top of Msdn Tech,Visual Basic,Visual Basic General...