Click here to Skip to main content
13,201,050 members (70,333 online)
Rate this:
 
Please Sign up or sign in to vote.
Hai All,
I am developing one VB application in VS2010. In my application i import "Imports excel = Microsoft.Office.Interop.Excel" . in error list no error is there but when i debug my code an Exception occur like ...
"
Warning 1   Could not determine the dependencies of the COM reference "Microsoft.Office.Interop.Excel". Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY))  

"

is anybody help me please .......
i don't know how to rectify this exception .....
Thanks in Adv
Posted 22-Jan-12 23:32pm
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Add reference
Component Name: Microsoft.Office.Interop.Excel
  Permalink  
Comments
Himachandra 23-Jan-12 5:59am
   
Yah Already Added that reference ... even through it gives exception.
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

I had the some problem. What I did to figure it out is that I removed that references and added them again. You should give your attention to which version of libraries you are adding like Excel 14.0 or 15.0
  Permalink  

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy |
Web04 | 2.8.171020.1 | Last Updated 1 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100