TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
JamesInside
NA
8
0
dll's / references / intellisense
Jul 6 2007 2:13 AM
Hello, My first posting. I'm new to C# and to Visual Studio, so please forgive me if some of these questions are a little simple.
I'm trying to use and Excel COM object in my application. I have an application VS project that I have downloaded and this compiles and runs perfectly.
Then I've started a new project, and I'm attempting to use the same techniques, but I'm running into problems.
I have added a Reference to the same Excel COM object, and my code for grabbing the content of an Excel spreadsheet is the same, but I'm getting errors like:
"The type or namespace name 'Excel' could not be found (are you missing a using directive or an assembly reference?)"
So, I try to add the line: using Excel;
into my code, but then I get the same error, even though I can see 'Excel' under the References in Solution Explorer.
I think that whatever is not right also means that Intellisense doesn't list 'Excel' either.
Can anyone tell me what I'm doing wrong here?
Many thanks!
Reply
Answers (
4
)
child form
Duplicate items are not supported by the "Resources" parameter error when building project