Results 1 to 14 of 14

Thread: Different net framework versions and errors

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2007
    Posts
    5

    Different net framework versions and errors

    Hello.How do you do?
    I recently built applications on my computer using vb .net and the netframework version 1.Everything worked fine.I ran my applications on another computer with the netframework version 2 installed and got
    an error.Now the thing is,this error is easy enough to fix,but how does one go about accomadating all the different framework versions if this is the case?
    It seems stupid to me.Should I rewrite the aplication completely in version 2?What about version 1 etc.
    I'm confused.Any help appreciated.

  2. #2
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Different net framework versions and errors

    Did you create a deployment package or you just copied the exe?

  3. #3

    Thread Starter
    New Member
    Join Date
    Feb 2007
    Posts
    5

    Re: Different net framework versions and errors

    Hi!I just copied the exe.My logic is do just that without using the windows installer,that way theres less file size to download.It certainly could be I'm wrong.
    I'm wrong most of the time.

  4. #4
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Different net framework versions and errors

    Indeed you are wrong in this case also. VB is not a stand-alone exe language. You need to install supporting files also. You need to create an installation package for your program. You can use PDW (Yuch!!) or one of the other installation packages such as Inno Setup combined with **********.

    Please read the FAQ at the beginning of the Application Deployment Forum.

  5. #5
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Different net framework versions and errors

    If the app is .NET 1.0, you'll need the 1.0FW installed.... if the app is .NET1.1, you'll need 1.1FW installed. If you used .NET2.0 then you'll need the 2.0FW.... And that's the way it works. It also depends on which version of VB.NET/VS.NET you used to develop the app.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  6. #6

    Thread Starter
    New Member
    Join Date
    Feb 2007
    Posts
    5

    Re: Different net framework versions and errors

    Doesn't having to have a specific netframework version installed to match our
    application limit our functionality.I mean running my applications,if there were no netframework installed at all,You get a message notifying you of that when you try running it.This message mentions nothing about a specific framework version.
    The average person downloading your applicatiopn knows nothing about the
    netframework either.3 new netframeworks from microsoft in 5 years is a lot
    to handle.I pity people using vb 6.
    I don't think Microsoft ever provides enough provisions for programmers really.
    Last edited by andy_wanderer; Feb 19th, 2007 at 02:25 PM.

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

    Re: Different net framework versions and errors

    Honestly, its not really about deploying the FW here. The issue is that you have developed your app using a particular FW version so that version needs to exist on the system or higher or it should install that FW. Now you enter a whole different set of issues if your app is not forwards compatible with whatever FW is already installed.

    For ex. if you developed the app in 1.1 and on the system it has 2.0 or even 3.0 then there may be features/functions that have been discontinued. So now your app will not function correctly.

    Are you using ClickOnce or a Setup Project? What version of .NET did you write the app in? 1.0 or 1.1?
    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
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Different net framework versions and errors

    Basically you should test before deploying... Not many people quite get this idea

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

    Re: Different net framework versions and errors

    Yes, but with .net it compounded by having different framework engines or a multiple of frameworks present on a system instead of just the specific one your app was developed on. Oh and dont forget that Vista currently comes with all four frameworks preinstalled. Then factor in the fifth framework (3.5) which should be out late this year and then we will realy be having fun if its breaks backwards compatibility.
    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

  10. #10
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Different net framework versions and errors

    Ok, SO what make Vista the OS to have?

    What improvements are outstanding?
    What happens to older software that one has?
    Are Vista users going to be forced to upgrade most of their apps to take advantage of the OS?

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

    Re: Different net framework versions and errors

    A bit off topic, but security, performance improvements, workflow improvements, GUI improvements, etc. Probably best to go over some of the latest threads on Vista for more info/links.
    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

  12. #12
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Different net framework versions and errors

    Ooops, typed in wrong tab...

  13. #13

    Thread Starter
    New Member
    Join Date
    Feb 2007
    Posts
    5

    Re: Different net framework versions and errors

    Thanks for the replies everybody.You know,I wrote three applications.Two of them with the netframework 2 and one with the net framework 1.I mistakingly
    rebuilt the first two applications with the 1st fw.
    Anyway.I think I'm sorting out the problems.I just ran one of the apps on another computer,the net framework 1 was already installed and my app worked perfectly.So I'll stick with the fw1 for all three apps.
    I have a link somewhere,for a free download from microsoft regarding something that works in conjunction with the windows installer and detects which framework is running and does the nescessary installation.I'll have to find it.
    The whole point is trying to make a seamless instalation for the users who don't know a net or framework from a baseball bat,Hopefully I can find the link
    today and post it,or if anybody else knows of something like it,if they could post it.
    Thank you.

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

    Re: Different net framework versions and errors

    Not to throw a wrench into your process but ...

    If the workstation already has Framework 2.0 or 3.0 then the 1.1 app will run under the more advanced framework. Framework 2 broke backwards compatibility so you may get errors in your app from being on a more advanced framework.

    The link you mean is the Boootstrapper plugin/addin.
    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