Results 1 to 5 of 5

Thread: OCX Dependency

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jul 2006
    Posts
    18

    OCX Dependency

    Hi All,
    We have some VB6 applications developed. And the executables are generally distributed to users who use the application for various purposes. All applications are Window based apps developed using MS Visual Studio 6 Enterprise Edition.
    But users frequently complain of problems running the EXEs. We usually send the exe and the dependent OCX files through a mail (we do not go the Setup Package route due to max size limitations of our email). Users are guided to register the OCXs first and then run the EXEs. But most users complain that OCX registration fails frequently. Also users who were able to successfully run the EXEs fail to do so at a later point since the OCXs got corrupt and they are required to re-register the OCXs bringing them back to square one. We are absolutely in the dark as to why the OCX registration succeeds sometimes and fails for most of the times.
    So can anyone point me the common reasons for OCX Registration failure? And someone suggested us to migrate to .NET to end this problem once for all. Is it a good idea to migrate the existing code to avoid the OCX dependency?

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

    Re: OCX Dependency

    Welcome to the Forums.

    You will still have dependancy in .NET as it depends on the .NET Framework. Could be failing on registration due to user permission issues. Why not create an internet setup package for them to download. Then the registration can be handled automatically.
    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
    Junior Member
    Join Date
    Jul 2006
    Posts
    18

    Re: OCX Dependency

    Hi, Thanks for the response.
    By 'Internet Setup Package' you mean the package built using the Package and Deployment Wizard? Can you please explain the process of creating such a package?

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

    Re: OCX Dependency

    Choose the first option which is to package.

    Moved
    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: OCX Dependency

    Those thing happen if you shortcut thed installation process.

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