Page 3 of 3 FirstFirst 123
Results 81 to 94 of 94

Thread: Windows 7 64-bit -- Library Not Registered problem

  1. #81
    New Member
    Join Date
    Mar 2014
    Posts
    10

    Re: Windows 7 64-bit -- Library Not Registered problem

    Update: I moved the ROOT folder to another drive (SSD), restarted VS6Installer, and reset the ROOT location. Now all three "Prepare" blocks are greyed out, and it appears that the installation is ready to proceed (which I'll do tomorrow).

  2. #82
    gibra
    Guest

    Re: Windows 7 64-bit -- Library Not Registered problem

    The error is because of permissions denied to read the folder.

    Quote Originally Posted by Bill6560 View Post
    Directory of F:\Program Files (x86)\ROOT
    Program Files (x86) it's a wrong location! Don't use a system folders, never.


    You must create and use: F:\ROOT

    However my suggest is: don't use the sistem drive, but use another drive (any).

  3. #83
    New Member
    Join Date
    Apr 2013
    Location
    Spain
    Posts
    7

    Re: Windows 7 64-bit -- Library Not Registered problem

    Quote Originally Posted by ZapVolt View Post
    Okay, I have been working on this for days. I have registered MSCOMCTL.OCX naad received a message that it was registered, however VB6 would not recognize that it was registered. After reading and trying all the suggestions on this forum and others, I remembered vaguely that last year I had a similar problem and solved it by uninstalling MS Internet Explorer version 10. Finally, I work up, and uninstalled the new MS Internet Explorer version 11.1 and then uninstalled version 10 which was under that. Then, I reinstalled VB6 and everything worked perfectly. There is certainly a problem with the compatibility of VB6 and the newer versions of Internet Explorer. Save yourself some problems, if you have this problem, uninstall Internet Explorer... I am using version 9 of I.E. and it's just fine.
    Hello,
    have you tried soultion from : http://www.vbforums.com/showthread.p...-problem/page2
    that shows:
    date of post : 19/4/2013, 02:59AM:

    The problem has been resolved by running the following in elevated command prompt:

    cd C:\Windows\SysWOW64\
    regtlib msdatsrc.tlb

    I hope this helps.

  4. #84
    New Member
    Join Date
    Mar 2014
    Posts
    10

    Re: Windows 7 64-bit -- Library Not Registered problem

    Hello gibra & dhernandez,

    gibra, I first tried to install VB6 using VS6Installer, and got as far as attempting to install SP6, which failed, saying that it was "unable to open acmsetup.stf". I then went to the 3SP6_VBPro folder and manually ran SP6 by running setupsp6.exe. The first time, it failed saying that it required "elevation", so I ran it again as an administrator. The installation appeared to go ok, with no errors.

    Started up VB6, tried to load the RichTextBox control, and still the same "not registered" error.

    dhernandez, I then did try to do what you suggested, running the command line, "regtlib msdatsrc.tlb".

    Unfortunately, I'm getting the error, "RegisterTypeLib of msdatsrc.tlb failed : 8002801c".

    This all looks like this may be permissions related, but I'm the admin (have administrator rights) to my PC, so I don't know where to go from here.

    As I've previously said, I've installed VB6 in Win7 (and XP) 32 bit machines without any issues. It's just my 64-bit PC that's giving me fit's.

    Thanks,
    Bill

  5. #85
    New Member
    Join Date
    Apr 2013
    Location
    Spain
    Posts
    7

    Re: Windows 7 64-bit -- Library Not Registered problem

    Quote Originally Posted by Bill6560 View Post
    Hello gibra & dhernandez,

    gibra, I first tried to install VB6 using VS6Installer, and got as far as attempting to install SP6, which failed, saying that it was "unable to open acmsetup.stf". I then went to the 3SP6_VBPro folder and manually ran SP6 by running setupsp6.exe. The first time, it failed saying that it required "elevation", so I ran it again as an administrator. The installation appeared to go ok, with no errors.

    Started up VB6, tried to load the RichTextBox control, and still the same "not registered" error.

    dhernandez, I then did try to do what you suggested, running the command line, "regtlib msdatsrc.tlb".

    Unfortunately, I'm getting the error, "RegisterTypeLib of msdatsrc.tlb failed : 8002801c".

    This all looks like this may be permissions related, but I'm the admin (have administrator rights) to my PC, so I don't know where to go from here.

    As I've previously said, I've installed VB6 in Win7 (and XP) 32 bit machines without any issues. It's just my 64-bit PC that's giving me fit's.

    Thanks,
    Bill
    Hello,
    I've Windows 7 SP1 64 bits with vb6 IDE working perfectly.
    With one patch of Microsoft(i don't remember wich one) I had to made the:
    regtlib msdatsrc.tlb
    But I'm using the "Microsoft Application Compatibility Tooklit" for running well the vb6 ide.
    I've applied a "patch" using that programs that permits me running vb6 ide without elevation prompt and running well ide.
    I'm attaching the file used with "Microsoft Application Compatibility Tooklit"
    para_visual_basic_6_ide.zip
    For applying it i've opened "compatibility administrator (32-bit)" , right click on "custom databases". Selected "Open" and selecting the file attached (the file inside zip file). Then in the new entry of "Custom databases" (named "para visual basic 6 ide") click on "install".
    Then closed program and started vb6 ide.
    Last edited by dhernandez; Mar 26th, 2014 at 03:12 AM. Reason: orthography and semantics

  6. #86
    gibra
    Guest

    Re: Windows 7 64-bit -- Library Not Registered problem

    Quote Originally Posted by Bill6560 View Post
    gibra, I first tried to install VB6 using VS6Installer, and got as far as attempting to install SP6, which failed, saying that it was "unable to open acmsetup.stf". I then went to the 3SP6_VBPro folder and manually ran SP6 by running setupsp6.exe. The first time, it failed saying that it required "elevation", so I ran it again as an administrator. The installation appeared to go ok, with no errors.

    Started up VB6, tried to load the RichTextBox control, and still the same "not registered" error.

    You're wrong, but this is not the forum for VS6.0 Installer, and it is not correct to use it for this purpose.
    If you want to solve the problem you need to contact me on the forum VBCorner.

  7. #87
    New Member
    Join Date
    Mar 2014
    Posts
    10

    Re: Windows 7 64-bit -- Library Not Registered problem

    Problem solved. It just came down to running everything as an administrator. That includes "setup.exe" for VB6-Pro, "setupsp6.exe" for SP6, and even running the command prompt as administrator to register the Mouse Wheel (VB6IDEMouseWheelAddin.dll) add-in. MSDN self installed after a reboot from the VB6-Pro installation was complete.

    Thanks to all for your help and insight.

    Also thanks to gibra for his VS6Installer program. While I had some issues making it work, one feature thing that really speed up the full installation was that VS6Installer facilitated creating three separate installation folders for VB6, MSDN, and SP6. I'm fortunate that I have an SSD drive, so installation took seconds rather than minutes to install.

  8. #88
    Frenzied Member
    Join Date
    Jan 2010
    Posts
    1,103

    Re: Windows 7 64-bit -- Library Not Registered problem

    Today after I installed/uninstalled one application, MSCOMCTL.ocx got problem. I tried to reinstall SP6 but still failed to load MSCOMCTR.ocx. "regsvr32 mscomctl.ocx" also didn't work.
    I follow DrUnicode's reply at #12 (http://www.vbforums.com/showthread.p...=1#post4380787), delete the node "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}" then reinstall SP6, then problem resolved.

    Before I delete the registry node, I noticed there're two children, 2.0 and 2.1. After I delete this entry and reinstall SP6 there is only one child: 2.0.

    Old Entry:
    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}]
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}\2.0]
    @="Microsoft Windows Common Controls 6.0 (SP6)"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}\2.0\0]
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}\2.0\0\win32]
    @="C:\\Windows\\System32\\MSCOMCTL.OCX"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}\2.0\FLAGS]
    @="2"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}\2.0\HELPDIR]
    @=""
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}\2.1]
    @="Microsoft Windows Common Controls 6.0 (SP6)"
    "PrimaryInteropAssemblyName"="mscomctl, Version=10.0.4504.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}\2.1\0]
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}\2.1\0\win32]
    @="C:\\Windows\\system32\\MSCOMCTL.OCX"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}\2.1\FLAGS]
    @="2"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}\2.1\HELPDIR]
    @="C:\\Windows\\system32\\"
    new install:
    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}]
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}\2.0]
    @="Microsoft Windows Common Controls 6.0 (SP6)"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}\2.0\0]
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}\2.0\0\win32]
    @="C:\\Windows\\system32\\MSCOMCTL.OCX"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}\2.0\FLAGS]
    @="2"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}\2.0\HELPDIR]
    @=""
    Win7,32 bit,VB6/SP6.
    Last edited by Jonney; Oct 11th, 2015 at 08:38 PM.

  9. #89
    New Member
    Join Date
    Mar 2014
    Posts
    10

    Re: Windows 7 64-bit -- Library Not Registered problem

    Quote Originally Posted by Jonney View Post
    Today after I installed/uninstalled one application, MSCOMCTL.ocx got problem. I tried to reinstall SP6 but still failed to load MSCOMCTR.ocx. "regsvr32 mscomctl.ocx" also didn't work.
    I follow DrUnicode's reply at #12 (http://www.vbforums.com/showthread.p...=1#post4380787), delete the node "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}" then reinstall SP6, then problem resolved.

    Before I delete the registry node, I noticed there're two children, 2.0 and 2.1. After I delete this entry and reinstall SP6 there is only one child: 2.0.

    Win7,32 bit,VB6/SP6.
    Interestingly, doing a search on the node "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}" revealed many 2.1 entries, but like you just one 2.0 entry.

    Code:
    HKEY_CLASSES_ROOT\TypeLib\{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}\2.0
    PrimaryInteropAssemblyName
    mscomctl, Version=10.0.4504.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    It seems that after a certain point, all the hits are related to controls within MSCOMCTL.ocx.

    And just for my 2 cents worth, us VB6 die hards will keep it alive for one reason. MS made the mistake of creating a fabulous platform that's as robust as you imagination take you. On a professional level, I use VB6 for automated test and control, alone with various stand alone applications. To us long term VB6 users, its simple, powerful, and can be written so ANYONE can understand it. I've personally developed over 40 automated test systems, one of which having over 40,000 lines of code. I'm not at liberty to say what it does, but I can say that I'm controlling various instruments on GPIB, Digital I/O on PCI, RS-232, RS-422, and USB platforms all on the same (XP) PC, soon to be upgraded to Win7. Obviously, when .NET and later versions of VB came out, I at least attempted to do a migration, but the wizard just barfed half way through. At the end of the day, I either had to spend 6 months completely re-writing code, or "just don't fix what ain't broke". I went for the latter. I've been pounding out code for more that 40 years, using Assembly, Pascal, C (although I gave up on that long ago), and many others, but VB and its early siblings just made program development a breeze, so I spend less time figuring out code that only a cryptographer can understand and get the job done.

    Win7,32 & 64 bit,VB6/SP6
    Last edited by Bill6560; Oct 11th, 2015 at 11:04 PM. Reason: typo

  10. #90
    Frenzied Member
    Join Date
    Jan 2010
    Posts
    1,103

    Re: Windows 7 64-bit -- Library Not Registered problem

    Quote Originally Posted by Bill6560 View Post
    I've personally developed over 40 automated test systems, one of which having over 40,000 lines of code.
    Glad to see some professional VB6 developer at here.
    Interesting if you can write some tutorials regarding to "controlling various instruments on GPIB, Digital I/O on PCI, RS-232, RS-422, and USB platforms all on the same (XP) PC".

  11. #91
    Frenzied Member
    Join Date
    Dec 2008
    Location
    Melbourne Australia
    Posts
    1,487

    Re: Windows 7 64-bit -- Library Not Registered problem

    My 2 cents.
    I try to minimize dependencies, and I avoid MS ones like the plague.

  12. #92
    New Member
    Join Date
    Mar 2014
    Posts
    10

    Re: Windows 7 64-bit -- Library Not Registered problem

    Quote Originally Posted by Jonney View Post
    Glad to see some professional VB6 developer at here.
    Interesting if you can write some tutorials regarding to "controlling various instruments on GPIB, Digital I/O on PCI, RS-232, RS-422, and USB platforms all on the same (XP) PC".
    Humm. That's an interesting proposition which will take some thought. I'd love to share my experiences but I'd first need to figure our where to start such a thread (i.e. which forum it should be started). Any suggestions?

  13. #93
    Frenzied Member
    Join Date
    Jan 2010
    Posts
    1,103

    Re: Windows 7 64-bit -- Library Not Registered problem

    Quote Originally Posted by Bill6560 View Post
    Humm. That's an interesting proposition which will take some thought. I'd love to share my experiences but I'd first need to figure our where to start such a thread (i.e. which forum it should be started). Any suggestions?
    Codebank allows tutorial or code snippets or attachments and pictures.
    http://www.vbforums.com/forumdisplay...-6-and-earlier

  14. #94
    New Member
    Join Date
    Mar 2014
    Posts
    10

    Re: Windows 7 64-bit -- Library Not Registered problem

    Quote Originally Posted by Jonney View Post
    Codebank allows tutorial or code snippets or attachments and pictures.
    http://www.vbforums.com/forumdisplay...-6-and-earlier
    Thanks Jonney. I'll take a look at that forum. Can't promise anything right away, but I'll write back to this thread to let you know when I have something started.

Page 3 of 3 FirstFirst 123

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