Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to change the output of a project from .exe to .scr

Status
Not open for further replies.

mondi

Programmer
Sep 10, 2003
169
AL
Hello everybody!
I want to change the output of a project from .exe to .scr.
I tried to change it at the project properties in build events / pre-build or post-build Event CommandLine using the macros $(TargetFileName) or $(TargetExt), but it didn't work or at least I didn't know how to change it.
Any help would be very appreciated!

Country of eagles
 
I know that C# 2k5 has a built in screen saver project. They take out the hard work. :)

 
Unfortunately I couldn't find that kind of project. I am using Visual Studio .NET 2003.

Country of eagles
 
Did you try just renaming the exe to a scr and placing the file in your C:\\windows\\system32 directory?
 
you know rstum2005 is a programmer. When all your directory paths have \\ in them :)
 
That is how I used to do it, just change the name of the output to .scr from the solution but I thought that might be some way to do it automatically from the solution and not manually.
Thanks however for your answers :)

Country of eagles
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top