Results 1 to 4 of 4

Thread: My program not work on all computers

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2008
    Posts
    2

    Smile My program not work on all computers

    Hello
    I make a small program by vb.net and I use (MY.computer) on the code
    I found that this program not work on all computers I test the program on it
    I heard that vb.net programs work only on computers which have .net framework
    Is that Right and If that was right
    Is there's a way to make my program work on all computer even that computer which havn't .net framework

    Sorry for my English language I hope that my question is clear

  2. #2
    Frenzied Member some1uk03's Avatar
    Join Date
    Jun 2006
    Location
    London, UK
    Posts
    1,675

    Re: My program not work on all computers

    If you write your code with VB.NET then the computer running your program must have the .NET FRAMEWORK installed.

    If you write your code with VB 6, then you DONT need the .NET Framework, but only VB6 Runtime Files, which all computers xp & above have installed anyway, so there is more change on running on all machines.

    I personally still use VB6 just so that I dont have a hassle with the .NET Framework not being installed on the client machine and other .Net hustles.
    _____________________________________________________________________

    ----If this post has helped you. Please take time to Rate it.
    ----If you've solved your problem, then please mark it as RESOLVED from Thread Tools.



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

    Re: My program not work on all computers

    Well you cant rely upon the vb6 runtimes being completely installed either. Either way you should always create an installation package to deploy your app with the required dependancies.

    All .NET programs will need the version of the .NET Framework installed that they referenced.

    Thread Moved
    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

  4. #4

    Thread Starter
    New Member
    Join Date
    Aug 2008
    Posts
    2

    Re: My program not work on all computers

    I'm Really Thanks for your replies
    I'm Really love vbforums.com

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