如何下载和安装MSFlexGrid [英] How to download and install MSFlexGrid

查看:227
本文介绍了如何下载和安装MSFlexGrid的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我格式化了系统.打开表单,然后显示如下错误.
我需要安装MSFlexGrid(Interop.MSFlexGridLib.dll,AxInterop.MSFlexGridLib.dll).

错误::
未注册类(HRESULT的异常:0x80040154(REGDB_E_CLASSNOTREG))
隐藏

在System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid,对象punkOuter,Int32上下文,Guid& iid)
在System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)
在System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)
在System.Windows.Forms.AxHost.CreateInstance()处
在System.Windows.Forms.AxHost.GetOcxCreate()
在System.Windows.Forms.AxHost.set_Site(ISite值)
在System.ComponentModel.Container.Add(IComponent组件,字符串名称)
在System.ComponentModel.Design.DesignerHost.Add(IComponent组件,字符串名称)
在System.ComponentModel.Design.DesignerHost.System.ComponentModel.Design.IDesignerHost.CreateComponent(Type componentType,String name)
在System.ComponentModel.Design.Serialization.DesignerSerializationManager.CreateInstance处(类型类型,ICollection参数,字符串名称,布尔值addToContainer)
在System.ComponentModel.Design.Serialization.DesignerSerializationManager.System.ComponentModel.Design.Serialization.IDesignerSerializationManager.CreateInstance中(类型类型,ICollection参数,字符串名称,布尔值addToContainer)
在System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeInstance上(IDesignerSerializationManager管理器,类型,Object []参数,字符串名称,布尔值addToContainer)
在System.ComponentModel.Design.Serialization.ComponentCodeDomSerializer.DeserializeInstance处(IDesignerSerializationManager管理器,类型,Object []参数,字符串名称,布尔值addToContainer)
在System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager管理器,字符串名称,CodeExpression表达式)中
在System.ComponentModel.Design.Serialization.CodeDomSerializer.DeserializeStatementToInstance(IDesignerSerializationManager管理器,CodeStatement语句)中
在System.ComponentModel.Design.Serialization.CodeDomSerializer.Deserialize处(IDesignerSerializationManager管理器,对象codeObject)
在System.Windows.Forms.Design.ControlCodeDomSerializer.Deserialize处(IDesignerSerializationManager管理器,对象codeObject)
在System.ComponentModel.Design.Serialization.TypeCodeDomSerializer.DeserializeName(IDesignerSerializationManager管理器,字符串名称,CodeStatementCollection语句)处

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)

推荐答案

vipin.sethumadhavan写道:
vipin.sethumadhavan wrote:

格式化了系统



如果您已经格式化了系统(假设您已经重新安装了OS),那么将擦除该类的所有注册表项(在您的情况下,它是您的组件").仅供参考,我们在计算机中使用的所有类(或组件)都已预先安装,并且在使用时,系统会查询注册表并唯一地标识该类(或组件),并相应地将该类(或组件)加载到内存中,为该类(或组件)执行工作.

在这种情况下,系统找不到该类(或组件)的条目.

你应该做的是
(1)您需要下载该组件.我有一种感觉,它具有从中安装了它的MSI(Microsoft安装程序)文件(至少在更早的时间才起作用)
(2)一旦下载了msi,请右键单击它并按照说明进行安装.

在谷歌搜索时,我发现此链接用于下载MSFlexGrid(尽管我尚未下载),但是在我看来,这对您会有所帮助.

[



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.


这篇关于如何下载和安装MSFlexGrid的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆