Results 1 to 15 of 15

Thread: Runtime error 5003

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2004
    Posts
    11

    Runtime error 5003

    Hi,

    I just did a program using VB6 and a friend of mine keeps getting an error 5003 after splash screen finishes and loads main form. He has installed a different program I did and it installed fine and he gets no errors except with this one. Its a simple program that reads a text file. I had him install updated VB6 runtime files and that did not work.

    Another friend of mine installed it with no problems and both are using Win 98 OS.

    Any help would be appreciated.

    Frustrated John

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

    Re: Runtime error 5003

    Welcome to the Forums.

    Did you create a Setup package? If so what packager did you use? Also,
    what are the OS' that work and what are the OS' that dont. 98 and NT have
    different kernals so they would behave differently.
    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
    Dec 2004
    Posts
    11

    Re: Runtime error 5003

    Quote Originally Posted by RobDog888
    Welcome to the Forums.

    Did you create a Setup package? If so what packager did you use? Also,
    what are the OS' that work and what are the OS' that dont. 98 and NT have
    different kernals so they would behave differently.

    Hi,

    Both my of my friends are running Win 98 Systems and I used the Inno Setup Compiler which was used to do setup for the 2 different program which is why I am stumped as both programs pretty much use same DLL's/Ocx's
    so if one works the other should too I woudl think.

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

    Re: Runtime error 5003

    Not necessarily. It depends on what the computer has installed and what your
    program requires (what dependencies your app uses).

    Check out the two links in my two posts in this thread.

    HTH
    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
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Runtime error 5003

    jmc1712,

    Take at look at this information for your dll/ocx/exe installer problems

  6. #6

    Thread Starter
    New Member
    Join Date
    Dec 2004
    Posts
    11

    Re: Runtime error 5003

    Quote Originally Posted by RobDog888
    Not necessarily. It depends on what the computer has installed and what your
    program requires (what dependencies your app uses).

    Check out the two links in my two posts in this thread.

    HTH
    Hi these are the dep files:

    asycfilt.dll
    COMCAT.DLL"
    COMDLG32.OCX
    msvbvm60.dll
    olepro32.dll

    Thanks

    John

  7. #7

    Thread Starter
    New Member
    Join Date
    Dec 2004
    Posts
    11

    Re: Runtime error 5003

    Quote Originally Posted by randem
    jmc1712,

    Take at look at this information for your dll/ocx/exe installer problems

    I checked out the page but could not get to the universal VB files mentioned there so it was of very little help.

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

    Re: Runtime error 5003

    Quote Originally Posted by jmc1712
    Hi these are the dep files:

    asycfilt.dll
    COMCAT.DLL"
    COMDLG32.OCX
    msvbvm60.dll
    olepro32.dll

    Thanks

    John
    Here are the direct links to the two links in my previous posts link.

    HOWTO: Install Visual Basic 6.0 Applications

    Which files should I install?
    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

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

    Re: Runtime error 5003

    Quote Originally Posted by jmc1712
    Quote Originally Posted by randem
    jmc1712,

    Take at look at this information for your dll/ocx/exe installer problems
    I checked out the page but could not get to the universal VB files mentioned there so it was of very little help.
    Randem, the first three links are not working on your page referenced in the link.

    only the last link on that page works.
    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

  10. #10

    Thread Starter
    New Member
    Join Date
    Dec 2004
    Posts
    11

    Re: Runtime error 5003

    Quote Originally Posted by RobDog888
    Here are the direct links to the two links in my previous posts link.

    HOWTO: Install Visual Basic 6.0 Applications

    Which files should I install?
    Hi

    Would any of these file cause a problem on non XP systems which seems to be my issue especially on Win 98 systems?

    John

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

    Re: Runtime error 5003

    For the VS SP6 runtime distributables - Supported Operating Systems: Windows 2000, Windows 2000 Advanced Server, Windows 2000 Server, Windows 2000 Service Pack 2, Windows 2000 Service Pack 3, Windows 2000 Service Pack 4, Windows 95, Windows 98, Windows 98 Second Edition, Windows ME, Windows NT, Windows Server 2003, Windows XP.

    Are you distributing the system files from you own system directory or are
    you distributing them from a separate folder?
    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

  12. #12

    Thread Starter
    New Member
    Join Date
    Dec 2004
    Posts
    11

    Re: Runtime error 5003

    Quote Originally Posted by RobDog888
    For the VS SP6 runtime distributables - Supported Operating Systems: Windows 2000, Windows 2000 Advanced Server, Windows 2000 Server, Windows 2000 Service Pack 2, Windows 2000 Service Pack 3, Windows 2000 Service Pack 4, Windows 95, Windows 98, Windows 98 Second Edition, Windows ME, Windows NT, Windows Server 2003, Windows XP.

    Are you distributing the system files from you own system directory or are
    you distributing them from a separate folder?

    I was using the files that the VB installer used which I think came from my system directory but I am not sure. I have since downloaded the runtime files from links here and put them in a separate directory and will be using those.

    I will create another setup and see if my friend can get it to work.

    Thanks

  13. #13

    Thread Starter
    New Member
    Join Date
    Dec 2004
    Posts
    11

    Re: Runtime error 5003

    Quote Originally Posted by RobDog888
    For the VS SP6 runtime distributables - Supported Operating Systems: Windows 2000, Windows 2000 Advanced Server, Windows 2000 Server, Windows 2000 Service Pack 2, Windows 2000 Service Pack 3, Windows 2000 Service Pack 4, Windows 95, Windows 98, Windows 98 Second Edition, Windows ME, Windows NT, Windows Server 2003, Windows XP.

    Are you distributing the system files from you own system directory or are
    you distributing them from a separate folder?

    Downloaded above file but it put files in my sys dir so I don't know which ones where added.

    John

  14. #14
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Runtime error 5003

    Thanks RobDog888, The links have been fixed.

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

    Re: Runtime error 5003

    Quote Originally Posted by jmc1712
    Downloaded above file but it put files in my sys dir so I don't know which ones where added.

    John
    You need to place the files in a separate folder from your system folder. Call it something like "Distributable System Files" 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

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