Results 1 to 3 of 3
  1. #1
    2 Star Lounger
    Join Date
    Jan 2001
    Location
    Winnipeg, Canada
    Posts
    109
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unexpected Error message

    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

  2. #2
    Platinum Lounger
    Join Date
    Dec 2000
    Location
    Queanbeyan, New South Wales, Australia
    Posts
    3,730
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Unexpected Error message

    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.
    Subway Belconnen- home of the Signboard to make you smile. Get (almost) daily updates- follow SubwayBelconnen on Twitter.

  3. #3
    Plutonium Lounger
    Join Date
    Dec 2000
    Location
    Sacramento, California, USA
    Posts
    16,775
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Unexpected Error message

    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.
    Charlotte

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •