Does VB 4.0 need a runtime? If so, where do I get it

edited December 2016 in Programming
I want to make some programs to distribute online but however would VB 4 need a runtime for running on other systems? I can't find a VB 4 runtime anywhere. The only things I found are a VB 5 runtime and several VB 6 runtimes. Any suggestions?

Comments

  • AAAAAAAAAAAAAAAAAARRRRRRRRRRRRRRRRRRRRRRRRRRRRRRAAAAAAAAAAAAAAAA
    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGGGGGGGGGGGGGGGGGG
    GGGGGGGGGGGGGGGGGGGG!!!!!!!!!

    :P I hate VB 4.

    VB 4 (and 5 and 6) does need a runtime, but it is not standalone like VB 3. It MUST be included with the application installer, it must be properly installed and registered via an installer rather than just copied in, and the entirety of the runtime is HUGE and may contain many optional OCX controls. There is also both a 16-bit Windows 3.1 runtime (VB 4 only) and a 32-bit Win 9x/NT runtime needed for each executable depending on the target platform.

    That said, it used to be possible to find some simple little "hello world" type applications that intentionally bundled the enirety of the runtime and all optional component. But that method was generally frowned upon for distributing software.

    BTW, the only reason to use VB 4 is... well none. If you are targeting 16-bit Windows 3.1, use VB 3. If you are targeting 32-bit Windows 9x/NT, use VB 5 or 6.
  • Probably way too late a reply but I am a new member of this site so what do I know?

    The answer to your question is yes.

    All versions of MS Visual Basic require run time files on the target machine for your VB application to be executable.

    The reason for this is that it is an interpreted language (Just like GW Basic of old). It complies to something called P-Code. P-Code is not machine readable. It is only readable by the run time executable file. Even VB for DOS needs run time files.

    You can get them for VB4 from:

    http://www.completelyfreesoftware.com/v ... files.html

    Why you would want to is a bit beyond me though. VB4 only had a very short life. It was the first version to support both 16 and 32 bit development. VB5 came out very soon after and even that was surpassed by VB6 that had (and still has) the longest life.

    You can get a VB6 disk image from this site:

    https://winworldpc.com/product/microsoft-visual-bas

    Hope this helps.
  • Actually, if you are developing in VB4 you already have the runtime files on your development machine.
Sign In or Register to comment.