0

Hi.

I'm having a ton of problems right now (I guess volunteering to write an internal application in a language I've never seen before does that kind of thing), but I'll start with something simple.

I'm writing asp.net code to manage some office applications (specifically access and excel). I've read the forums, and I know this feature isn't supported by Microsoft, but I can't even get the namespace references correct. I'm using Dreamweaver and notepad, so I can't just "go to the references" menu. Does anyone know the <%@import namespace &> declarations for MS Access and Excel (2003) ?

Thank you in advance for your help.
Stay tuned for the next in my long line of questions.

--nick

2
Contributors
3
Replies
4
Views
12 Years
Discussion Span
Last Post by tgreer
0

They don't have any. Those applications are not part of the .NET framework, and so do not have assigned namespaces.

A namespace is a collection of classes, which are prototypes for objects, which have properties and methods. You won't find the "Excel" application in that hierarchy.

If you want to use Excel and/or Access as a datasource, you would use the System.Data namespace. If you want to host those applications, or interactively build Excel documents, you would have to use the COM Interop mechanism to load their APIs.

0

If you want to host those applications, or interactively build Excel documents, you would have to use the COM Interop mechanism to load their APIs.

Thank you for your response. Any references you'd reccomend for me to get started with that?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.