RSS Forums RSS

How to make a screensaver run in delphi 2009 on xp/vista

Please support our Pascal and Delphi advertiser: Programming Forums
Reply
Posts: 16
Reputation: darkyere is an unknown quantity at this point 
Solved Threads: 0
darkyere darkyere is offline Offline
Newbie Poster

How to make a screensaver run in delphi 2009 on xp/vista

  #1  
Dec 2nd, 2008
i have made a screensaver and what i want is to disable alt-tab, ctrl-esc, the windows button (the one between ctrl and alt i mean)

ive tryed using many different versions of

SystemParametersInfo( SPI_SCREENSAVERRUNNING, integer(true), @i, 0);
SystemParametersInfo( SPI_SETFASTTASKSWITCH, 1, @i, 0);

but its not working on xp and vista...

i would appreiciate the help if any now how to make a screensaver run in xp and vista.

best regards,
Darkyere
AddThis Social Bookmark Button
Reply With Quote  
Posts: 15,216
Reputation: jbennet is a glorious beacon of light jbennet is a glorious beacon of light jbennet is a glorious beacon of light jbennet is a glorious beacon of light jbennet is a glorious beacon of light jbennet is a glorious beacon of light 
Solved Threads: 455
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: How to make a screensaver run in delphi 2009 on xp/vista

  #2  
Dec 2nd, 2008
rename your .exe to be .scr and it should simply just work
Master of puppets Im pulling your strings - blinded by me, you cant see a thing. Master! Master!

If i am helpful, please give me reputation points.
Reply With Quote  
Posts: 16
Reputation: darkyere is an unknown quantity at this point 
Solved Threads: 0
darkyere darkyere is offline Offline
Newbie Poster

Re: How to make a screensaver run in delphi 2009 on xp/vista

  #3  
Dec 2nd, 2008
Originally Posted by jbennet View Post
rename your .exe to be .scr and it should simply just work


sry. but ive allredy doing that when im puplishing ht e product and that doesnt work.

there most be some way to make my program run as a screensaver... i know there must be whit all these screensavers out there some must be made in delphi.

well hope someone know the answer

best regards,
darkyere
Reply With Quote  
Posts: 1,734
Reputation: LizR has a spectacular aura about LizR has a spectacular aura about 
Solved Threads: 184
LizR LizR is offline Offline
Posting Virtuoso

Re: How to make a screensaver run in delphi 2009 on xp/vista

  #4  
Dec 3rd, 2008
There are plenty, however, ive not tried running them under vista.

Try posting on the embarcadero forums - if anyones going to know people there will.
Did I just hear "You gotta help us, Doc. We've tried nothin' and we're all out of ideas" ? Is this you? Dont let this be you! I will put in as much effort as you seem to.
Reply With Quote  
Posts: 1
Reputation: Glenn9999 is an unknown quantity at this point 
Solved Threads: 0
Glenn9999 Glenn9999 is offline Offline
Newbie Poster

Re: How to make a screensaver run in delphi 2009 on xp/vista

  #5  
Dec 9th, 2008
There's a lot more to screen savers than just renaming EXE to SCR.

See http://www.tek-tips.com/faqs.cfm?fid=6914 for an example.
Reply With Quote  
Posts: 1,734
Reputation: LizR has a spectacular aura about LizR has a spectacular aura about 
Solved Threads: 184
LizR LizR is offline Offline
Posting Virtuoso

Re: How to make a screensaver run in delphi 2009 on xp/vista

  #6  
Dec 9th, 2008
Yep, screen savers have specific functions in such as the config screen etc. I know Ive written a few following various googled tutorials in the past, so have a google.
Did I just hear "You gotta help us, Doc. We've tried nothin' and we're all out of ideas" ? Is this you? Dont let this be you! I will put in as much effort as you seem to.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.



Other Threads in the Pascal and Delphi Forum
Views: 1021 | Replies: 5 | Currently Viewing: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 3:24 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC