Click here to Skip to main content
16,012,110 members
Home / Discussions / C#
   

C#

 
GeneralRe: combobox height? [modified] Pin
Pawan Kiran4-Mar-10 21:50
Pawan Kiran4-Mar-10 21:50 
GeneralRe: combobox height? Pin
Covean4-Mar-10 22:31
Covean4-Mar-10 22:31 
GeneralRe: combobox height? Pin
Pawan Kiran4-Mar-10 22:53
Pawan Kiran4-Mar-10 22:53 
GeneralRe: combobox height? Pin
Covean4-Mar-10 23:14
Covean4-Mar-10 23:14 
GeneralRe: combobox height? Pin
Pawan Kiran4-Mar-10 23:45
Pawan Kiran4-Mar-10 23:45 
GeneralRe: combobox height? Pin
Covean5-Mar-10 1:06
Covean5-Mar-10 1:06 
GeneralRe: combobox height? Pin
Pawan Kiran5-Mar-10 1:43
Pawan Kiran5-Mar-10 1:43 
QuestionClass Not Registered Error (HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) Pin
Clifford Anup4-Mar-10 3:36
Clifford Anup4-Mar-10 3:36 
Hi,

I am building a C# App using Windows Forms. It was working perfectly fine, suddenly there seems to be an System.Runtime.InteropServices.COMException.

The error code was copied to my clip board, here it goes:




System.Runtime.InteropServices.COMException was unhandled
Message="Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))"
Source="System.Windows.Forms"
ErrorCode=-2147221164
StackTrace:
at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)
at System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)
at System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid clsid)
at System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)
at System.Windows.Forms.AxHost.CreateInstance()
at System.Windows.Forms.AxHost.GetOcxCreate()
at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
at System.Windows.Forms.AxHost.CreateHandle()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.AxHost.EndInit()
at WordRecoEngine.MainParentForm.InitializeComponent() in E:\Sample C# Codes\02-03-2010\Today(2-3-2010)\ProjectWithMap\WordRecoEngine\(Form1)MainParentForm.Designer.cs:line 81
at WordRecoEngine.MainParentForm..ctor() in E:\Sample C# Codes\02-03-2010\Today(2-3-2010)\ProjectWithMap\WordRecoEngine\(Form1)MainParentForm.cs:line 64
at WordRecoEngine.Program.Main() in E:\Sample C# Codes\02-03-2010\Today(2-3-2010)\ProjectWithMap\WordRecoEngine\Program.cs:line 42
at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:




The error is occuring in the following line of my code:

((System.ComponentModel.ISupportInitialize)(this.axShockwaveFlash1)).EndInit();

I don't know how to debug this exception, kindly suggest me a solution as early as possible. I tried dwonloading Flash.ocx and paste it into my System32 Folder, since Visual Studio 2008 indicated that it did not have that file, whenever I opened the project and closed the VS2008 project window. I have the latest version of the Adobe Flash Player installed on my computer. Also, I am using Windows 7 Ultimate x64.

Thanks.

Regards,
Clifford

AnswerRe: Class Not Registered Error (HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) Pin
Dave Kreskowiak4-Mar-10 3:52
mveDave Kreskowiak4-Mar-10 3:52 
GeneralRe: Class Not Registered Error (HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) Pin
Clifford Anup4-Mar-10 4:40
Clifford Anup4-Mar-10 4:40 
GeneralRe: Class Not Registered Error (HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) Pin
Md. Marufuzzaman4-Mar-10 6:26
professionalMd. Marufuzzaman4-Mar-10 6:26 
GeneralRe: Class Not Registered Error (HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) Pin
Clifford Anup4-Mar-10 7:55
Clifford Anup4-Mar-10 7:55 
GeneralRe: Class Not Registered Error (HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) Pin
Dave Kreskowiak4-Mar-10 8:08
mveDave Kreskowiak4-Mar-10 8:08 
GeneralRe: Class Not Registered Error (HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) Pin
Ajcek8414-Nov-10 21:41
Ajcek8414-Nov-10 21:41 
GeneralRe: Class Not Registered Error (HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) Pin
Dave Kreskowiak4-Mar-10 6:54
mveDave Kreskowiak4-Mar-10 6:54 
GeneralRe: Class Not Registered Error (HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) Pin
Clifford Anup4-Mar-10 7:54
Clifford Anup4-Mar-10 7:54 
GeneralRe: Class Not Registered Error (HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) Pin
Dave Kreskowiak4-Mar-10 8:10
mveDave Kreskowiak4-Mar-10 8:10 
GeneralRe: Class Not Registered Error (HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) Pin
Clifford Anup4-Mar-10 8:25
Clifford Anup4-Mar-10 8:25 
GeneralRe: Class Not Registered Error (HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) Pin
Dave Kreskowiak4-Mar-10 9:05
mveDave Kreskowiak4-Mar-10 9:05 
QuestionC# Code example for adding File Attachments (when using Zetafax) Pin
But_Im_a_Lady4-Mar-10 3:35
But_Im_a_Lady4-Mar-10 3:35 
QuestionDetect if Application.Restart Fails. Pin
kevinnicol4-Mar-10 3:26
kevinnicol4-Mar-10 3:26 
AnswerRe: Detect if Application.Restart Fails. Pin
Alan N4-Mar-10 8:09
Alan N4-Mar-10 8:09 
GeneralRe: Detect if Application.Restart Fails. Pin
kevinnicol4-Mar-10 8:17
kevinnicol4-Mar-10 8:17 
GeneralRe: Detect if Application.Restart Fails. [modified] Pin
Alan N4-Mar-10 13:19
Alan N4-Mar-10 13:19 
QuestionMy service must run my form Pin
Andy_R4-Mar-10 2:37
Andy_R4-Mar-10 2:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.