Computer Hope

Microsoft => Microsoft Windows => Windows Vista and 7 => Topic started by: dfg09 on April 02, 2010, 12:57:21 PM

Title: Visual Basic 2008 Class not registered help?
Post by: dfg09 on April 02, 2010, 12:57:21 PM
i have the following problem :-\ Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
can anyone tell me what to do i am kind a new with this program.
this problem only happens when i use a COM exception like object shockwaveflash
Title: Re: Visual Basic 2008 Class not registered help?
Post by: Azzaboi on April 02, 2010, 01:41:59 PM
Your OWC (Office Web Components) might be corrupted or outdated,
Try to repair/install your "Microsoft Office Web Components".

Office Web Components are a collection of Component Object Model (COM) controls for publishing spreadsheets, charts, and databases to the Web. Can be used by Visual Basic.

http://www.microsoft.com/downloads/details.aspx?FamilyID=7287252c-402e-4f72-97a5-e0fd290d4b76&DisplayLang=en
Title: Re: Visual Basic 2008 Class not registered help?
Post by: BC_Programmer on April 02, 2010, 01:44:45 PM
i have the following problem :-\ Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
can anyone tell me what to do i am kind a new with this program.
this problem only happens when i use a COM exception like object shockwaveflash

When are you getting this error? working in the IDE, after you try to add the Component to the toolbox, when you add it to a form, when you compile, or when you run it on another machine?
Title: Re: Visual Basic 2008 Class not registered help?
Post by: dfg09 on April 03, 2010, 01:50:59 AM
i get this problem when i try debugging anything using COM. i can create new projects and use things i have made on other computers without COM. it's not even a point to try publishing stuff with COM in at the moment. i know it wont work.
Title: Re: Visual Basic 2008 Class not registered help?
Post by: BC_Programmer on April 03, 2010, 09:24:48 AM
i get this problem when i try debugging anything using COM. i can create new projects and use things i have made on other computers without COM. it's not even a point to try publishing stuff with COM in at the moment. i know it wont work.

Hmm, well, I've made and consumed COM Components with mine, and It doesn't work unless I run Visual Studio as an administrator.

Also, just to be clear; Visual Studio let's you add the Shockwave componen, to the IDE, add it to the form, etc.... but gives that error when you try to run/debug it?