Results 1 to 15 of 15

Thread: Class not registered

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 2007
    Posts
    19

    Class not registered

    Would like to know y i get this error when install the programm at other pc although i had already generated a setup program.
    "Class no registered"
    "Looking for object with CLSID:{00000010-0000-0010-8000-00AA006D2EA4}

    when i run the setup i get this error as well "cannot register msado25.tlb"

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

    Re: Class not registered

    Sounds like you may have manually added the ADO object files to your setup package? What are you using to package your program?
    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
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Class not registered

    What kind of a machine are you trying to install on? What OS?

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

    Re: Class not registered

    The error would be generated from ADO not being correctly installed. ie: file distributed and not installed
    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: Class not registered

    You are probably attempting to register the tlb file in the regular way one would register a dll/ocx. That will not work.

    Please read Installer Problems for more help in the installation area

  6. #6

    Thread Starter
    Junior Member
    Join Date
    Oct 2007
    Posts
    19

    Re: Class not registered

    i use the vb deployment wizard to do the setup package.. I wrote a simple module and when i install at my friends pc i get this error.. on windows xp professional

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

    Re: Class not registered

    Thread Moved

    ADO 2.5 isnt installing correctly. Do you have admin permissions on the xp system? Is it running SP-2?
    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

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

    Re: Class not registered

    Did you read the link that I posted?

  9. #9

    Thread Starter
    Junior Member
    Join Date
    Oct 2007
    Posts
    19

    Re: Class not registered

    yup.. had read yr article and tried the recommeded setup software but still get the same error..

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

    Re: Class not registered

    And what software setup was that???

  11. #11

    Thread Starter
    Junior Member
    Join Date
    Oct 2007
    Posts
    19

    Re: Class not registered

    i use install shield 10.5

  12. #12

    Thread Starter
    Junior Member
    Join Date
    Oct 2007
    Posts
    19

    Re: Class not registered

    hey guys.. thx for all the help.. i was able to solve it the problem.. it's not abt the setup package but coz i put a MSFlexGrid and data1,dbgrid in one form. After i remove the dbgrid and data1 then everything work fine.

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

    Re: Class not registered

    Where in the article did I say anything about Install Shield? The information was in regards to the proper dependencies? How on earth did you read Install Shield out of that????

  14. #14

    Thread Starter
    Junior Member
    Join Date
    Oct 2007
    Posts
    19

    Re: Class not registered

    i did try using Inno Setup and other setup packages such as install shield but did not work as well coz the problem is not cause from dependancies.. thx anyway..

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

    Re: Class not registered

    Post you Inno Setup Script... Did you get the same error?

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