Results 1 to 15 of 15

Thread: .exe files

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2008
    Posts
    7

    .exe files

    i currently use Visual studio 2008 for visual basic and i have created an application. you probably already know that Visual Studio creates 2 folders:
    "Debug" & "Release". Inside of these folders are .exe files for the programs that you created right. What im really trying to do is email .exe files that i created through Visual Studio to a recipient. I have already tried attaching the exe and emailing it but that was unsuccessful. I have already tried to upload the file on zshare.net and email the link to a recipient but when the recipient recieved it, the file crashed as soon as it opened.

    any help on emailing .exe files created through Visual Studio 2008to a recipient?

  2. #2
    G&G Moderator chemicalNova's Avatar
    Join Date
    Jun 2002
    Location
    Victoria, Australia
    Posts
    4,246

    Re: .exe files

    They must have the .NET framework installed. It must be the same version, or newer, than what you used to create it in.

    Visual Studio 2008 is.. .NET 3.0 I'm pretty sure.. correct me if I'm wrong someone?

    chem

    Visual Studio 6, Visual Studio.NET 2005, MASM

  3. #3

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

    Re: .exe files

    Does your receipent have VS Studio 2008 on their machines?

  5. #5
    Frenzied Member
    Join Date
    May 2006
    Location
    Toronto, ON
    Posts
    1,093

    Re: .exe files

    Instead of emailing them the exe, create a setup program and send them the msi. That will check to see if they have the needed version of the .NET Framework on their machine when they try and install it and give them the option to download the framework.

  6. #6
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: .exe files

    Quote Originally Posted by dyakub
    i currently use Visual studio 2008 for visual basic and i have created an application. you probably already know that Visual Studio creates 2 folders:
    "Debug" & "Release". Inside of these folders are .exe files for the programs that you created right. What im really trying to do is email .exe files that i created through Visual Studio to a recipient. I have already tried attaching the exe and emailing it but that was unsuccessful. I have already tried to upload the file on zshare.net and email the link to a recipient but when the recipient recieved it, the file crashed as soon as it opened.

    any help on emailing .exe files created through Visual Studio 2008to a recipient?
    What was the error you're client got? perhaps the file wasn't completely downloaded.
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

  7. #7
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: .exe files

    You can't just send EXEs around unless they're native with no dependencies, which barely any non-trivial application is nowadays. Create an installation package, as advised above. The Application Deployment section of this site will help with that.

  8. #8
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    Re: .exe files

    Quote Originally Posted by RhinoBull
    VS 2008 uses framework 3.5 so must advise your users about this mandatory prerequisite that can be downloaded directly from MS.
    It doesn't JUST use it though you made it sound like it did. It can target the 2.0 framework and above

  9. #9

  10. #10
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    Re: .exe files

    The way you said it, sounded like you thought it only targeted the 3.5 framework.

  11. #11

  12. #12
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: .exe files

    Quote Originally Posted by RhinoBull
    What in the world are you talking about?
    VS 2008 is based on .Net Framework 3.5 - without it your app will not run.
    Period, end of story. For more information go to MS site and read all about it.
    http://msdn2.microsoft.com/en-us/library/bb398197.aspx

    The key benefit of multi-targeting is that you can use Visual Studio 2008 to create projects that target .NET Framework version 2.0, 3.0, or 3.5. This also lets you continue to develop projects that were created in Visual Studio 2005 without adding new .NET Framework dependencies.

  13. #13
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: .exe files

    I'm well aware of that. However, default is 3.5 and that's the bottom line as vast majority won't even bother (not to mention be aware) about backward compatibility.
    And frankly I don't see any points in developing in most recent version with "limited functionality" in mind - it's almost the same as you would develop in VB 2008 using VB4 syntax/technics.

  14. #14
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    Re: .exe files

    Quote Originally Posted by RhinoBull
    I'm well aware of that. However, default is 3.5 and that's the bottom line as vast majority won't even bother (not to mention be aware) about backward compatibility.
    And frankly I don't see any points in developing in most recent version with "limited functionality" in mind - it's almost the same as you would develop in VB 2008 using VB4 syntax/technics.
    I use it for 2.0 development and you can change the default framework version

  15. #15
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: .exe files

    This is going nowhere.........


    Bottom line is that any application developed using the .NET Framework requires that that version of the Framework be installed in order to run.


    Since the release of Visual Studio 2008, the Visual Studio version used to develop an application is no longer 1:1 tied to which Framework version is required to run it.

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