类未在vb.net中注册 [英] class not registered in vb.net

查看:75
本文介绍了类未在vb.net中注册的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我收到此错误可能是由于vGrid.et形式的flexGrid.

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

在构建成功后,上面的警告消息会出现在包含flexigrid的表单上,但是每当调用form.showdialog时,都会出现相同的错误(用于表单约束flexigrid).

请帮忙..
谢谢,
ABHI.

呼叫堆栈以解决此错误:


该错误的实例(2)

1.隐藏呼叫堆栈

Hi,
i got this error probably due to flexGrid in vb.et form.

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

the above WARNING message appears on form containing flexigrid after build is succeeded,but same error appears whenever form.showdialog is called(for form contaning flexigrid).

please help..
thanks,
ABHI.

Call Stack for this error:


Instances of this error (2)

1. Hide Call Stack

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)  



2.隐藏呼叫堆栈



2. Hide Call Stack

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.TransitionUpTo(Int32 state)
at System.Windows.Forms.AxHost.CreateHandle()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.ControlCollection.Add(Control value)
at System.Windows.Forms.Form.ControlCollection.Add(Control value)
at System.Windows.Forms.Design.ControlDesigner.DesignerControlCollection.Add(Control c)

推荐答案

FlexGrid?您是在谈论旧的VB6 FlexGrid吗?如果是这样,为什么要使用它?
FlexGrid?? Are you talking about the old VB6 FlexGrid? If so, why are you using it??


看看
Take a look at this[^] thread on the MSDN Forums. Follow the links provided to see if there is a solution there.


基本,它告诉您FlexGrid未安装或未正确安装在您的计算机上.
Basicalyy, it''s telling you that the FlexGrid is not installed or not installed properly on your machine.


这篇关于类未在vb.net中注册的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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