Results 1 to 4 of 4

Thread: Class not registered (HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))

  1. #1
    Join Date
    Nov 2005
    Posts
    114

    Class not registered (HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))

    I got a VB 2005 that I am using to create a form which has two Windows Media Player but am getting a runtime error that says "System.InvalidOperationException was unhandled. An error occurred creating the form." I am not playing anything immediately and the issue happens while loading the form before trying to play anything. In C# this used to work. This project uses sound files that is created via Directx. The problem that I am facing is that VB cannot run a form containing WMP 10, and when I delete the players then the form will load. VB 2005 is also telling me that DirectX is not properly installed when looking for toolbox components and I have already installed the DirectX SDK. Can anyone give me some suggestions to correct this issue? Thank you.

  2. #2
    Join Date
    Jun 2006
    Posts
    623

    Re: Class not registered (HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))

    Can you please tell us what CLSID you are using? Incase you found out how to make it, then please write a message about the solution.

  3. #3
    Join Date
    Nov 2005
    Posts
    114

    Re: Class not registered (HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG

    I have not used any CLSID, but have done simple form drag and drop. The control is not perfectly registered might be due to the Microsoft installation process and the code that I have might have the same issues on pc with similar installations. I was trying to find out a CLSID in the Registry and project files and am using AxInterop.WMPLib.dll and Interop.WMPLib.dll version 1 in the project.

  4. #4
    Join Date
    Jun 2006
    Posts
    623

    Re: Class not registered (HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG

    I have never heard about "AxInterop", but I believe that the simple "drag and drop" does nothing at all. I think that if you install WMP 9 then it will register itself, but you must use this CLSID to call it via WMP.OCX, for same you can try to have a look over here -

    i donĀ“t know "AxInterop", but simple "drag/drop" does nothing.

    yes if you install e.g. WMP 9 it will register itself, but you must use this
    CLSID
    to call it trought WMP.OCX

    have a look here - http://msdn.microsoft.com/library/de...layer10sdk.asp

Similar Threads

  1. The KMPlayer class not registered
    By tpsilva in forum Windows Software
    Replies: 7
    Last Post: 15-10-2009, 07:22 PM
  2. Windows media player class not registered
    By Gustak in forum Operating Systems
    Replies: 3
    Last Post: 03-09-2009, 09:59 AM
  3. MMC Class Not Registered
    By Blazej in forum Operating Systems
    Replies: 3
    Last Post: 04-06-2009, 07:05 PM
  4. Error- Windows Movie Maker - Class Not Registered
    By Agilent in forum Windows XP Support
    Replies: 3
    Last Post: 01-12-2008, 12:02 PM
  5. Replies: 3
    Last Post: 10-08-2007, 02:36 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,651,207.02274 seconds with 18 queries