未注册类(HRESULT:0X80040154的异常(REGDB_E_CLASSNOTREG) [英] class not registered(Exception from HRESULT:0X80040154(REGDB_E_CLASSNOTREG)

查看:172
本文介绍了未注册类(HRESULT:0X80040154的异常(REGDB_E_CLASSNOTREG)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的项目运行时,将出现此消息框错误,
我该怎么办才能解决该错误,以及如何解决该错误..
在Windows应用程序中运行的tis编码


in my project running time this messagebox error will be occured ,
what can i do for that error and how to solve the error..
tis coding run in windows applications


protected override void OnCreateControl()
       {
           rdpc = new AxMSTSCLib.AxMsRdpClient4();
           rdpc.OnDisconnected += new AxMSTSCLib.IMsTscAxEvents_OnDisconnectedEventHandler(rdpc_OnDisconnected);
           this.Controls.Add(rdpc);   //here this error occured      
           rdpc.Dock = DockStyle.Fill;
           base.OnCreateControl();
       }

推荐答案

听起来需要注册正在使用的组件.也许是一个ActiveX控件.

http://www.devx.com/vb2themax/Tip/18337 [ http://stackoverflow.com/questions/3003719/hresult-0x80040154-regdb-e-classnotreg [ ^ ]
it sound that you need to register the component (assembly) you are using. Maybe it''s an activex control.

http://www.devx.com/vb2themax/Tip/18337[^]

http://stackoverflow.com/questions/3003719/hresult-0x80040154-regdb-e-classnotreg[^]


这篇关于未注册类(HRESULT:0X80040154的异常(REGDB_E_CLASSNOTREG)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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