|
-
Jul 20th, 2006, 02:10 AM
#1
Thread Starter
Junior Member
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?
-
Jul 20th, 2006, 02:14 AM
#2
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 Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API 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 
-
Jul 20th, 2006, 02:23 AM
#3
Thread Starter
Junior Member
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?
-
Jul 20th, 2006, 02:34 AM
#4
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 Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API 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 
-
Jul 20th, 2006, 04:00 AM
#5
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|