| View previous topic :: View next topic |
| Author |
Message |
craig
Joined: 24 Aug 2007 Posts: 36
|
Posted: Thu Jun 18, 2009 4:21 am Post subject: Retrieving the COM class factory for component with.... |
|
|
Hi,
i have referenced a dll file in my application. but i am getting the following error when create instance of the class. please let me know the cause for this error.
MyLibrary.WNetClass te = new WNetClass();
error :
retrieving the com class factory for component with clsid..
thanks & regards
craig |
|
| Back to top |
|
 |
Kittu
Joined: 21 Aug 2007 Posts: 67
|
Posted: Thu Jun 18, 2009 4:30 am Post subject: |
|
|
Hi,
one of the cause for this error is you need to register dll to gac. for this you need to execute the following command
REGSVR32 MyLibrary.dll
try this command. hope this may helps you.......
thanks |
|
| Back to top |
|
 |
|