I am currently trying to create RDP in the application that I created. We constantly need to regularly connect to many servers and would like to get rid of the need to inform our employees about the details on all servers.
I am currently trying to use this example: http://www.codeproject.com/KB/cs/RemoteDesktop_CSharpNET.aspx
When using the above, I get the following error:
Getting the factory COM class for a component with CLSID {791FA017-2DE3-492E-ACC5-53C67A2B94D0} failed due to the following error: 80040154 The class was not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
From this code:
MsRdpClient rdp1; rdp1 = new MSTSCLib.MsRdpClient();
Any help would be greatly appreciated, thanks.
source share