Results 1 to 9 of 9

Thread: .NET stand alone

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2006
    Posts
    14

    .NET stand alone

    Is there any way possible to run vb.net programs without the .net framework installed.
    Copy dlls and that stuff to the program directory to get it work?

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

    Re: .NET stand alone

    From what I understand, the framework needs to be installed.

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: .NET stand alone

    There are installers out there that will claim to only include those parts of the framework that you require, but that isn't worth the complexity. It's best just to give them a link to the framework to download.

  4. #4

    Thread Starter
    New Member
    Join Date
    Dec 2006
    Posts
    14

    Re: .NET stand alone

    I just wonder if that is possible to give customers a single zip file which they extract and its ready to use.
    Is it possible if I include all the .net dll:s to the directory it will run without the framework?

  5. #5
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: .NET stand alone

    No, the framework needs to be installed.

  6. #6
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    Re: .NET stand alone

    You can install all the files your program needs, but the one dll you aren't installing is the .net dll - which we call the .net framework - it's one huge link library.
    The most difficult part of developing a program is understanding the problem.
    The second most difficult part is deciding how you're going to solve the problem.
    Actually writing the program (translating your solution into some computer language) is the easiest part.

    Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.

    Please Help Us To Save Ana

  7. #7
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: .NET stand alone

    You can include the framework with your installation package using the bootstrapper plugin for 2003. 2005 has built in support for this I believe. This will at least prevent the user from having to do a lengthy download but will also possibly giving the user a false sense that their framework is updated as if any SP's come out they will need to download the patches for that too.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  8. #8
    PowerPoster
    Join Date
    May 2006
    Posts
    2,988

    Re: .NET stand alone

    include:
    http://www.microsoft.com/downloads/d...displaylang=en

    then shell it with a silent install ..
    dotnetfx.exe /q /c:"install.exe /q"


    http://msdn2.microsoft.com/en-us/lib...bd(VS.80).aspx
    Last edited by rory; Jan 12th, 2007 at 06:34 PM.

  9. #9
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: .NET stand alone

    Why do things the hard way. Just add a Setup Project to your solution and configure it for your app (very easy) and compile. Viola! A professional looking installation package. Then if you use the bootstrapper plugin as you didnt specify which version you are actually writting in, it can include the FW for you. If you are running 2002 or 2003 then it can "use" 2.0 but there will be some compatibility issues as 2.0 is not fully backwards compatible. If you are running 2005 then it should be ok.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

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