Results 1 to 7 of 7

Thread: Creating Distributable EXE's

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2008
    Posts
    9

    Question Creating Distributable EXE's

    Hello everyone,
    I have a question for the people who are experienced with Visual basic 6. I want to create a number of different EXE applications, all with different API calls, components referenced etc.. yet I want to make them all standalone EXE's. my question is, what component references/API calls can you do in a Vb application so that it would work on all computers (ones that do not have Vb installed). Or more specifically, what components/API calls shouldn't I put in my applications to avoid a 'component missing' error or such? I want to be able to distrubute standalone EXE's, not have an installer or anything.

    Thankyou.

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

    Re: Creating Distributable EXE's

    Thread Moved

    You will always need the vb runtimes installed but on XP they will already be present and on 2000 pro and earlier they wont exist and need to be installed.

    For a truely "stand alone" app you need to use C++ or such.
    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

  3. #3

    Thread Starter
    New Member
    Join Date
    Jul 2008
    Posts
    9

    Re: Creating Distributable EXE's

    So basically, a standalone EXE file created with Vb will only work on XP =/

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

    Re: Creating Distributable EXE's

    Just about any language that you may use will have dependancies. Those dependancies need to be deployed to insure that your app will run.
    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

  5. #5
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: Creating Distributable EXE's

    The Visual Basic runtime (msvbvm60.dll) is included in the following Windows operating systems.

    Version 6.0.82.44 included with:
    Windows NT 4.0 SP4, SP5, SP6, SP6a (Windows 98SE?)

    Version 6.0.84.95 included with:
    Windows 2000 (Server, Professional, and Datacenter editions), Windows Millenium Edition

    Version 6.0.92.37 included with:
    Windows XP Home, Windows XP Professional

    Version 6.0.96.90 included with:
    Windows 2000 SP4, Windows Server 2003

    Version 6.0.98.2 included with:
    Windows XP SP3, Windows Vista, Windows Server 2008
    Last edited by dilettante; Aug 8th, 2008 at 08:30 PM.

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

    Re: Creating Distributable EXE's

    Runtime files are not the only dependencies possible.

    Any time you add a control through Project/Controls, either an OCX or another DLL is being reference/used, and that becomes a necessity to include in your installation package.

  7. #7
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: Creating Distributable EXE's

    Very true. About all you can use are the controls intrinsic to VB and possibly controls and classes in system libraries that every OS you want to target has installed already out of the box.

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