Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. what is : Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))

what is : Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))

Scheduled Pinned Locked Moved C#
helpquestioncsharptools
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    B A
    wrote on last edited by
    #1

    hi i create an application with C#. now i want to go on my develop in another computer but when run my application without any change , at run time , before main form show, throw following Exception : Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) i really don't know how can resolve it. i think my problem is for dll references that i use in my application ! can i "reference to dll with "reference path" tools in my application property ? can you help me. tanks

    R 1 Reply Last reply
    0
    • B B A

      hi i create an application with C#. now i want to go on my develop in another computer but when run my application without any change , at run time , before main form show, throw following Exception : Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) i really don't know how can resolve it. i think my problem is for dll references that i use in my application ! can i "reference to dll with "reference path" tools in my application property ? can you help me. tanks

      R Offline
      R Offline
      Rocky
      wrote on last edited by
      #2

      I'm not so sure but I think u must be using COM here and the component your app is trying to use is not there in the registry.

      Rocky You can't climb up a ladder with your hands in your pockets.

      B 1 Reply Last reply
      0
      • R Rocky

        I'm not so sure but I think u must be using COM here and the component your app is trying to use is not there in the registry.

        Rocky You can't climb up a ladder with your hands in your pockets.

        B Offline
        B Offline
        B A
        wrote on last edited by
        #3

        thanks. how can i registry COM in my application ?

        R 1 Reply Last reply
        0
        • B B A

          thanks. how can i registry COM in my application ?

          R Offline
          R Offline
          Rocky
          wrote on last edited by
          #4

          well personally I hadnt had enuff exposure of COM but I've seen such issues comming at a few places, generally I've seen ppl registering the required DLLs but for that you gotta know which dlls your application is using. RegSvr32 is a command you should search out for, its used in command prompt by the way. I hope its a bit helpful to u:->

          Rocky You can't climb up a ladder with your hands in your pockets.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups