G
Guest
Hi. I've seen several KBs on using .NET for MS Office Automation. But I have
a particular question: I am developing a somewhat stand-alone .ASPX page
which will need to do some relatively simple MS Office Automation (Office
2003+).
The .ASPX page is not part of a Web Forms Visual Studio project. It's just a
stand-alone file. And therefore, there is not "References" setting or
anything because there's no Visual Studio project.
My question is, can I use various <% @ Import Namespace=... %> directives to
include the proper references? In other words, is there a way to have
references included in an .ASPX page so that when ASPX automatically compiles
it, it'll have the right references?
If so, can you tell me what directives I need to include (seems like some
interop stuff is needed too, right?) at the top of my .ASPX file so that
things'll work?
Thanks.
Alex Maghen
a particular question: I am developing a somewhat stand-alone .ASPX page
which will need to do some relatively simple MS Office Automation (Office
2003+).
The .ASPX page is not part of a Web Forms Visual Studio project. It's just a
stand-alone file. And therefore, there is not "References" setting or
anything because there's no Visual Studio project.
My question is, can I use various <% @ Import Namespace=... %> directives to
include the proper references? In other words, is there a way to have
references included in an .ASPX page so that when ASPX automatically compiles
it, it'll have the right references?
If so, can you tell me what directives I need to include (seems like some
interop stuff is needed too, right?) at the top of my .ASPX file so that
things'll work?
Thanks.
Alex Maghen