Results 1 to 12 of 12

Thread: what is difference between exe and scr extentions ?

  1. #1

    Thread Starter
    Lively Member hum5's Avatar
    Join Date
    Mar 2008
    Posts
    71

    Arrow 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!


    _________________________


  2. #2
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538

    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...

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  3. #3
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    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.

  4. #4
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    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)

  5. #5

    Thread Starter
    Lively Member hum5's Avatar
    Join Date
    Mar 2008
    Posts
    71

    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


    _________________________


  6. #6
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538

    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.

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  7. #7
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: what is difference between exe and scr extentions ?

    Quote 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.

  8. #8
    Fanatic Member schoolbusdriver's Avatar
    Join Date
    Jan 2006
    Location
    O'er yonder
    Posts
    1,020

    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.
    Quote 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.

  9. #9
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: what is difference between exe and scr extentions ?

    Quote 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. )

  10. #10
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538

    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...

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  11. #11
    PoorPoster iPrank's Avatar
    Join Date
    Oct 2005
    Location
    In a black hole
    Posts
    2,729

    Re: what is difference between exe and scr extentions ?

    In addition to schoolbusdriver's post:
    See parameter list , VB6 example , Template.
    Usefull VBF Threads/Posts I Found . My flickr page .
    "I love being married. It's so great to find that one special person you want to annoy for the rest of your life." - Rita Rudner


  12. #12
    Fanatic Member schoolbusdriver's Avatar
    Join Date
    Jan 2006
    Location
    O'er yonder
    Posts
    1,020

    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
  •  



Click Here to Expand Forum to Full Width