954,496 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Developing a screen saver

Hi all,
Can any one point to me how to develop a screensaver in winxp. What language shud i use to write the code. I have browsed the net and found some native code in c. Is this the way to develop. Has anyone played around with it?
Looking fwd to rplies

Cheerz
neodishanku

neodishanku
Newbie Poster
1 post since Jan 2007
Reputation Points: 10
Solved Threads: 0
 

there are several examples here if you use Microsoft compilers.

Ancient Dragon
Retired & Loving It
Team Colleague
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
 

i used vb.net 2005 express edition (free) and renamed the .exe to .scr and voila - a screensaver - any program can be a screensaver

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 601
 
i used vb.net 2005 express edition (free) and renamed the .exe to .scr and voila - a screensaver - any program can be a screensaver

Hey that's sweet. I'll try that later.

iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
 

for VB 2005 Express you either get or can download a starter kit which walks you through making a RSS Reader screensaver

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 601
 

Yeah at home I got the express kit. So all I have to do is rename the file to .scr.

Ok how do I add it so I can use it as an actual screen saver.

iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
 

Ah I've just read the instructions. Simple stuff!

Installing the Screen Saver on Your Computer The following steps describe how to install the screen saver application on your computer.

To install the screen saver:

If you haven't already done so, load the Starter Kit into Visual Basic.

On the File menu, click Save All.

If you are requested to enter a location to save the project, select a directory or accept the default location. Make a note of where the project is saved - by default it will be in a directory under \My Documents\Visual Studio 2005\Projects.

On the Build menu, click Build Solution. This creates an executable file for the screen saver.

Open up the directory specified in step 3 containing the saved project.

Open the bin\Debug subdirectory. This is where the debug version of your executable file is located. Its default name is ScreenSaver1.exe but you may have given it a different name when you created the project the first time. Change the ".exe" extension on this file to ".scr".

Note: If you do not see the file extensions in Windows Explorer, then click on Folder Options under the Tools menu, click on the View tab, and uncheck the checkbox labeled "Hide extensions for known file types".

Right-click on the .scr file and select "Install". This opens up the Windows Screen Saver Dialog Box.

Click the Preview button in the Windows Screen Saver Dialog Box. The screen saver launches. Press any key to stop it.

Click the Settings button in the Windows Screen Saver Dialog Box to see the screen saver options. Try changing the background image or the RSS feed.

Click OK.

iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
 

[edit]Ah..too late[/edit]

Create the project of your choice in VB and then make the executable file. Place the file created in the \windows\system32 folder.

Then go to the screensaver dialog box by right clicking on the desktop and then selecting properties. Select the screensaver with the name which you had given to the project and it will be done.

~s.o.s~
Failure as a human
Administrator
11,938 posts since Jun 2006
Reputation Points: 3,281
Solved Threads: 734
 

yes

i made my own using opengl before

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 601
 

Do you know how to integrate say a .mov file into a screen saver.

Now if you could do this I'll have some mad 3d animation going on in my screensavers:cheesy:

iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
 

is .mov quicktime?

if its VB i suppose you could make a form the size of the screen and remove the titlebar etc... and then dock a windowsmedia control onto the form

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 601
 

>is .mov quicktime?

Yeah. Windowsmedia control?

Do you have a linky?

iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
 

There is a really cool open source Quicktme library available online - http://www.openquicktime.org/

Regards,

GCS584

gcs584
Light Poster
31 posts since Oct 2006
Reputation Points: 11
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You