• Unexpected Error message

    Author
    Topic
    #356834

    I dabble at times in VB and for that purpose I own a copy of VB5 Learning Edition.
    At various times I make little utilites to accomplish a certain task, like sorting a CSV batch
    or stripping out a number of fields etc. After the program is finished and compiled, I distribute the
    exe file to whichever user has a need for it.

    I made a new utility yesterday and it works fine on my pc. When the user tried it, he got an Error message
    box saying: ‘Unexpected Error’. This utility was saved in the same VB programs folder on the network as the other utilities he uses (which don’t display this error message).

    Does anyone have any ideas why this should happen? Do you also know which programs/DLLs etc need
    to be installed – I know it needs VBRUN. I have VBRUN300.DLL (05/12/1993) in a number of folders (incl WindowsSystem) on my pc and I also ran a downloaded copy of VBRUN60.exe which installs a number of files (too fast to read).

    I use Win95 myself, but the other user has Win2K. Any connection there?

    TIA

    Viewing 0 reply threads
    Author
    Replies
    • #528881

      You really need the “Package and deployment” wizard- though I don’t know if this comes with the learning edition (I suspect not). It creates a distributable with a “setup.exe”, containing all necessary bits and pieces.

      To get a start, check “Project, References”, and highlight each ticked box. The reference is shown in the bottom of the boix (though sometimes truncated). Do the same for Projects, Components.

      • #528908

        The learning edition does NOT include the packaging and deployment wizard (it was the Setup Wizard in VB5) and is not intended to be used to create applications for distribution. It is intended for learning VB and building apps to run on your own machine. VB Professional and above include the wizard.

    Viewing 0 reply threads
    Reply To: Unexpected Error message

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: