|
-
Jun 4th, 2008, 05:36 AM
#1
Thread Starter
Lively Member
what is difference between exe and scr extentions ?
hi,
here are some questions Please try to answer them.
what is difference between exe and scr ?
does both are same and works for same functions?
if not same then which is better and fast ?
can i use scr for all programs and setup files ?
thanx!
-
Jun 4th, 2008, 06:12 AM
#2
Re: what is difference between exe and scr extentions ? need some information related ...
An scr file is simply a screensaver file - usually displaying fixed or moving graphics and possibly sound I believe.
For more information you can enter the term "file extensions" and scr into a search engine.
Nope they don't perform the same functions, performance isn't applicable as their purposes are different and you can't use scr files for programs or setup files.
Note this answer is entirely for a Windows OS, it is possible if this is a Mac or Linux environment question the answer many be different...
-
Jun 4th, 2008, 06:13 AM
#3
Re: what is difference between exe and scr extentions ?
exe means the file is executable by the operating system.
As far as I know scr is the file extension for a screen saver.
-
Jun 4th, 2008, 06:18 AM
#4
Re: what is difference between exe and scr extentions ?
Duplicate threads merged - please post each question only once (if you think you have posted in the wrong forum, PM a moderator to ask them to move it)
-
Jun 4th, 2008, 07:22 AM
#5
Thread Starter
Lively Member
Re: what is difference between exe and scr extentions ?
but for me after renaming the extention of exe file to scr the program is working same like in exe
-
Jun 4th, 2008, 07:26 AM
#6
Re: what is difference between exe and scr extentions ?
From what I remember (from an old VB6 Matrix screensaver attempt), you create scr files in a similar way to a standard exe, with a form usually to render the image(s). They are similar in that respect, just that an scr has extra instructions/settings for the OS to tell it that exe is a screensaver.
In that way, you could think of a Windows service app being similar if you've written one of them, that's again an exe in essence, with instructions for the OS to treat it as a service.
You can't however output messageboxes or dialogs to the screen, and shouldn't (though possible which is why scr's are watched by virus checkers now) reference any of the external filesystem or user input apart from for the behaviour of escaping the screensaver "playing".
Last edited by alex_read; Jun 4th, 2008 at 07:30 AM.
-
Jun 4th, 2008, 11:44 AM
#7
Re: what is difference between exe and scr extentions ?
 Originally Posted by hum5
but for me after renaming the extention of exe file to scr the program is working same like in exe
Well, I'll be swabbed. I just did the same thing on a text project1.exe and it worked.
I have absolutely no clue why you would want to do that, but apparently you can. However, the OS now thinks that file is a screen saver, so I don't know what potential "gotchas" that might occasion.
Even though it would appear you can do it, I see no reason to do it. Leave the exe files alone is what I would suggest.
-
Jun 4th, 2008, 01:31 PM
#8
Re: what is difference between exe and scr extentions ?
A screensaver is an ordinary executable.
Windows starts it with command line parameters so that it displays correctly in [Normal Run Mode], [Preview Mode], [Configuration Mode], the mini display in the desktop's screensaver dialog. You can include, say, dialogs to ask the user for a password etc. What you do is only limited to your imagination.
Other than that, it's coded to respond to mouse and keyboard events, and have only ever have 1 instance running.
 Originally Posted by Hack
I have absolutely no clue why you would want to do that ....
In combination with a desktop shortcut key, to make the boss think you were working instead of playing Duke Nukem.
-
Jun 4th, 2008, 01:38 PM
#9
Re: what is difference between exe and scr extentions ?
 Originally Posted by schoolbusdriver
In combination with a desktop shortcut key, to make the boss think you were working instead of playing Duke Nukem.
Of course, how silly of me. 
(What the heck is Duke Nukem?? - on second thought, nevermind, I probably don't want to know. )
-
Jun 4th, 2008, 02:12 PM
#10
Re: what is difference between exe and scr extentions ?
What the heck is Duke Nukem??
and double
First came pong, then asteroids, then doom, then duke nukem - one of the all time classics!!! Imagine Johny Bravo (if you know the cartoon) mixed with Doom and you're not far off...
-
Jun 4th, 2008, 02:38 PM
#11
Re: what is difference between exe and scr extentions ?
In addition to schoolbusdriver's post:
See parameter list , VB6 example , Template.
-
Jun 4th, 2008, 03:04 PM
#12
Re: what is difference between exe and scr extentions ?
In addition to iPrank's post, there's a sample that comes with VB - not sure which versions though. Search around for SSAVER.VBP. The image in the resource file is...... interesting..... Considering that the sample is 10 years old, it looks remarkably like icon introduced with IE7, 2 years ago....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|