PC Review


Reply
Thread Tools Rate Thread

Class not registered exception

 
 
=?Utf-8?B?U3VzYW4=?=
Guest
Posts: n/a
 
      17th Nov 2007
I am upgrading an application from 32 bit to 64 bit. My application contains
the Windows Media Player. Though it used to work, my code now generates a
"Class not registered (Exception from HRESULT: 0x80040154
IREGDB_E_CLASSNOTREG))" when the line:
((System.ComponentModel.ISupportInitialize)(this.axWindowsMediaPlayer1)).EndInit();
is called. I removed the control from the form and then re-added the
component to the toolbox and then drag and dropped it onto my form so that
the code was recreated. Any ideas?

Thank you,
Susan

 
Reply With Quote
 
 
 
 
=?Utf-8?B?U3VzYW4=?=
Guest
Posts: n/a
 
      17th Nov 2007
I'm a moron. I have to compile the application as x86 because of the COM
components.

Susan

"Susan" wrote:

> I am upgrading an application from 32 bit to 64 bit. My application contains
> the Windows Media Player. Though it used to work, my code now generates a
> "Class not registered (Exception from HRESULT: 0x80040154
> IREGDB_E_CLASSNOTREG))" when the line:
> ((System.ComponentModel.ISupportInitialize)(this.axWindowsMediaPlayer1)).EndInit();
> is called. I removed the control from the form and then re-added the
> component to the toolbox and then drag and dropped it onto my form so that
> the code was recreated. Any ideas?
>
> Thank you,
> Susan
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
AxInterop.MSChart20Lib and Interop.MSChart20Lib - Class not registered Exception Peri Microsoft VB .NET 3 29th Jan 2008 12:25 PM
Class not registered exception when launching Windows Explorer (Vi =?Utf-8?B?SW5kcmFqaXQgQw==?= Windows Vista General Discussion 7 27th Aug 2007 07:12 PM
Get derived class from base class (find actual exception from Exception)? Zytan Microsoft C# .NET 4 30th Mar 2007 07:06 PM
Visio - new DrawingControlClass() thowing exception - 'class not registered' gkelly Microsoft ASP .NET 0 5th Mar 2007 05:33 PM
Class not Registered Exception Marco Herrn Microsoft ASP .NET 0 23rd Feb 2005 09:00 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:20 AM.