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!
Printable View
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!
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...
exe means the file is executable by the operating system.
As far as I know scr is the file extension for a screen saver.
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)
but for me after renaming the extention of exe file to scr the program is working same like in exe
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".
Well, I'll be swabbed. I just did the same thing on a text project1.exe and it worked.Quote:
Originally Posted by hum5
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.
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.In combination with a desktop shortcut key, to make the boss think you were working instead of playing Duke Nukem.Quote:
Originally Posted by Hack
Of course, how silly of me. :lol:Quote:
Originally Posted by schoolbusdriver
(What the heck is Duke Nukem?? - on second thought, nevermind, I probably don't want to know. :D )
:eek: :eek: and double :eek:Quote:
What the heck is Duke Nukem??
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...
In addition to schoolbusdriver's post:
See parameter list , VB6 example , Template.
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....