Click here to Skip to main content
14,027,355 members
Rate this:
 
Please Sign up or sign in to vote.
See more:
I formatted the system .And I open the form then show a error as below.
I need to install MSFlexGrid( Interop.MSFlexGridLib.dll,AxInterop.MSFlexGridLib.dll).

Error::
Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
Hide

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.CreateInstanceCore(Guid clsid)
at System.Windows.Forms.AxHost.CreateInstance()
at System.Windows.Forms.AxHost.GetOcxCreate()
at System.Windows.Forms.AxHost.set_Site(ISite value)
at System.ComponentModel.Container.Add(IComponent component, String name)
at System.ComponentModel.Design.DesignerHost.Add(IComponent component, String name)
at System.ComponentModel.Design.DesignerHost.System.ComponentModel.Design.IDesignerHost.CreateComponent(Type componentType, String name)
at System.ComponentModel.Design.Serialization.DesignerSerializationManager.CreateInstance(Type type, ICollection arguments, String name, Boolean addToContainer)
at System.ComponentModel.Design.Serialization.DesignerSerializationManager.System.ComponentModel.Design.Serialization.IDesignerSerializationManager.CreateInstance(Type type, ICollection arguments, String name, Boolean addToContainer)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeInstance(IDesignerSerializationManager manager, Type type, Object[] parameters, String name, Boolean addToContainer)
at System.ComponentModel.Design.Serialization.ComponentCodeDomSerializer.DeserializeInstance(IDesignerSerializationManager manager, Type type, Object[] parameters, String name, Boolean addToContainer)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager manager, String name, CodeExpression expression)
at System.ComponentModel.Design.Serialization.CodeDomSerializer.DeserializeStatementToInstance(IDesignerSerializationManager manager, CodeStatement statement)
at System.ComponentModel.Design.Serialization.CodeDomSerializer.Deserialize(IDesignerSerializationManager manager, Object codeObject)
at System.Windows.Forms.Design.ControlCodeDomSerializer.Deserialize(IDesignerSerializationManager manager, Object codeObject)
at System.ComponentModel.Design.Serialization.TypeCodeDomSerializer.DeserializeName(IDesignerSerializationManager manager, String name, CodeStatementCollection statements)
Posted

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

vipin.sethumadhavan wrote:
formatted the system


If you have formatted the system ( I assume you have reinstalled the OS ) therefore erasing out all registry entry of that class ( in your case it is "your component" ). FYI, All class, (or component) that we use in our computer are pre-installed and when at use, system queries into registry and uniquely identifies that class ( or component ) and accordingly that class ( or component ) is loaded into memory and work is performed for that class (or component ).

In this case system is not finding an entry of that class ( or component ).

What you should do is
(1) You need to download that component. I am having a feeling that it was having and MSI ( microsoft installer ) file from which it was installed ( at least when it was working at some earlier point of time )
(2) Once you donwload the msi, right click on it and follow the instruction to get that installed.

While googling I found this link for downloading the MSFlexGrid ( though I have not downloaded ) however seems to me that it would be helpfull to you.

[http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Controls/Q_10376637.html]

Please let me know if that helps.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Cookies | Terms of Service
Web04 | 2.8.190419.4 | Last Updated 10 May 2010
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100