Click here to Skip to main content
15,917,481 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
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


C#
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();
       }
Posted

1 solution

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[^]
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900