Results 1 to 12 of 12

Thread: [RESOLVED] Windows 10 Component Registration Issues

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2014
    Posts
    121

    Resolved [RESOLVED] Windows 10 Component Registration Issues

    Hi,

    Running VB6 IDE on Windows 10 22H2. Up until a few days ago I was able to open projects without issue. However I now receive errors when doing so.

    The issue appears to be related to some components that are not registered. There are several but for the purposes of this post I'll concentrate on MSCOMCTL.OCX.

    When I try to add this as a component to an existing project I receive an 'Object library not registered' error message.

    I can confirm the library is registered, the path is correct, and that (from googling) I have first run regtlib msdatsrc.tlb and then regsvr32 mscomctl.ocx at an administrator command prompt (both were successful).

    The above does not resolve the error.

    Any ideas?

    Thanks!

  2. #2
    PowerPoster
    Join Date
    Nov 2017
    Posts
    3,200

    Re: Windows 10 Component Registration Issues

    Since this week was Microsoft's "Patch Tuesday", assuming that these patches were applied on this device, that would be one of the obvious potential culprits, based on the timing of the issue occurring.

    That being said, I would expect that if recent patches did break a bunch of .ocx functionality in W10 that there would be more reports about it here than just your post.

    Aside from potential Windows Updates, did any other software installations or upgrades take place on this device recently?

  3. #3
    PowerPoster
    Join Date
    Feb 2006
    Posts
    24,482

    Re: Windows 10 Component Registration Issues

    Go here: https://www.microsoft.com/en-us/down....aspx?id=10019 grab it, grab it now. The English KB articles have already been expunged and I don't even see archive copies on 3rd party sites.

    Probably not related to 22H2 (Win 10 or Win11) but it fixes some serious bugs and is usually necessary on Win10/11 anyway. Most likely you already have it installed though if it has been working earlier.

  4. #4
    Addicted Member
    Join Date
    May 2012
    Location
    42.787034,-81.176367
    Posts
    135

    Re: Windows 10 Component Registration Issues

    This seems to also be a recent issue in Microsoft Visual FoxPro.

    https://www.tek-tips.com/viewthread.cfm?qid=1819419

    Joe

  5. #5
    Fanatic Member Black_Storm's Avatar
    Join Date
    Sep 2007
    Location
    any where
    Posts
    579

    Re: Windows 10 Component Registration Issues

    i always use that vbs in vbrichclient for register dlls or ocxes and etc (run as admin work better) and some days ago i jst converted that vbs to new exe with some edited better support multiple component in same time for register or unregister,maybe u can use for register and run as admin,i used for win 8 64 bit or win 10 64 bit and win 7 and ofc win xp too and all worked for me
    [ ... active on skype and discord ... ] ,[always strive to achieve your dreams] , [always try,dont stop,never say never]

  6. #6

    Thread Starter
    Lively Member
    Join Date
    Mar 2014
    Posts
    121

    Re: Windows 10 Component Registration Issues

    Quote Originally Posted by OptionBase1 View Post
    Since this week was Microsoft's "Patch Tuesday", assuming that these patches were applied on this device, that would be one of the obvious potential culprits, based on the timing of the issue occurring.

    That being said, I would expect that if recent patches did break a bunch of .ocx functionality in W10 that there would be more reports about it here than just your post.

    Aside from potential Windows Updates, did any other software installations or upgrades take place on this device recently?
    I updated to 22H2 on 11/2 and installed Hyper-V shortly thereafter. I have now removed 22H2, removed Hyper-V, removed IE 11 and installed the updated common controls per dilletante's post. Issue still persists. Thoughts?

  7. #7
    PowerPoster
    Join Date
    Feb 2006
    Posts
    24,482

    Re: Windows 10 Component Registration Issues

    Quote Originally Posted by Brad. View Post
    Running VB6 IDE on Windows 10 22H2. Up until a few days ago I was able to open projects without issue. However I now receive errors when doing so.
    Maybe I had misunderstood. So, it had been working under Win10 22H2 and then later suddenly stopped? Or did installing 22H2 itself cause it to stop working?

  8. #8

    Thread Starter
    Lively Member
    Join Date
    Mar 2014
    Posts
    121

    Re: Windows 10 Component Registration Issues

    I'm not sure if it was. After removing 22H2 I noticed there are several quality updates that I am unable to uninstall which were installed on the same date. I'm thinking it has to do with one or more of those?

  9. #9
    Frenzied Member
    Join Date
    Jun 2015
    Posts
    1,083

    Re: Windows 10 Component Registration Issues

    When you reregustered did to make sure you were using a 32 bit version of cmd.exe from the syswow64 folder?

    I do hate how ms handled this

  10. #10

    Thread Starter
    Lively Member
    Join Date
    Mar 2014
    Posts
    121

    Re: Windows 10 Component Registration Issues

    I reinstalled VB6 after re-updating to 22H2 and re-adding IE11 and Hyper-V. The re-install fixed the issue and I am once again able to open my projects. Thanks to all for the suggestions.

  11. #11
    New Member
    Join Date
    May 2022
    Posts
    2

    Re: [RESOLVED] Windows 10 Component Registration Issues

    One thing you could try is to unregister the file first (using regsvr32 /u mscomctl.ocx) and then register it again. Sometimes, re-registering can resolve any issues with the registration process.
    If that doesn't work, you might want to consider reinstalling the Visual Basic 6 IDE or repairing your current installation. It's possible that something got corrupted, causing the component registration issue.
    I've had my share of Windows problems, but when it comes to getting legit Windows keys, I recently stumbled upon Digital Chill Mart. They offer genuine keys at reasonable prices. Might be worth checking out if you're in need.
    Last edited by michalenkolorri; May 15th, 2024 at 04:18 AM.

  12. #12
    Member Tabi's Avatar
    Join Date
    Jan 2024
    Location
    Argentina, Santa Fe
    Posts
    57

    Re: [RESOLVED] Windows 10 Component Registration Issues

    Although it is not directly related to this problem, and although I have never used it, I think this comment is not superfluous, regarding problems with Control Licenses, in case anyone wants to see this topic, or comment on it.


    VBC6.EXE
    VBC6.EXE is a utility designed to fix License problems with ActiveX Controls that ship with Microsoft Visual Basic 6.0.
    The utility will not fix third party controls, or controls not normally installed by Microsoft Visual Basic 6.0
    https://github.com/sdksmate/vb6-portable



    What is VBC6.EXE?
    -----------------
    VBC6.EXE is a utility designed to fix License problems with ActiveX Controls that ship with Microsoft Visual Basic 6.0.
    The utility will not fix third party controls, or controls not normally installed by Microsoft Visual Basic 6.0.
    VBC6.EXE will help correct problems with the following symptoms:



    Symptom I
    ---------
    When trying to site a control within a project, Microsoft Visual Basic raises the following

    error dialog:

    License Information For This Component Not Found. You Do Not Have An
    Appropriate License To Use This Functionality In The Design Environment.


    Symptom II
    ----------
    When trying to compile a project, Microsoft Visual Basic raises the following error dialog:

    Compile Error : Permission Denied


    Symptom III
    -----------
    When using the Application Wizard, Microsoft Visual Basic raises an error dialog similar to:

    60: Method ~ of Object ~ failed


    Symptom IV
    ----------
    When trying to run a project, Microsoft Visual Basic raises the following error dialog:

    Runtime Error '429' : ActiveX Component Can't Create Object

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