Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problems accessing Office COM

Status
Not open for further replies.

majkinetor

Programmer
Feb 21, 2006
88
RS
I want to control Excell application in my program.
I am using VS2003 and the only solution for me is COM since ODBC drivers are bugy.

I googled around and found what I must do to enable COM classes for Excel. One of the articles I read is
At then end, when reference to COM supplier is added, it resides in namespace Microsoft.Office.Interop.Excell.

My problem is that VS2003 doesn't see this class ?!
I did exactly the same as pointed in J# article but VS constantly reports that it can not find Interop. InteliSense also doesn't show anything after ".Office" except "Core". It looks like it is a private member. When I open object browser on Excell reference.

I downloaded J# project from the article's page but it reports the same.

I tried on other systems - the same.

This thing works in Visual Studio 2005.


I uploaded some screenshots so you can check it out.

Thanx in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top