hi,
i need to open the word documents in my application using asp.net. some suggested that using COM object we can open word documents but how to do this please let me know..
thank you
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sam HobbsPosted Sep 17, 2010, 2:28 AM
R JPosted Sep 17, 2010, 1:48 AM
ya I read the recommended articles and I am asking that Can't we write the code to open word/excel documents using VS 2008.
thank you very much
Mahesh ChandPosted Sep 17, 2010, 1:36 AM
R JPosted Sep 17, 2010, 1:23 AM
i am using MS office 2010(beta) and visual studio 2008. I added the COM component " Microsoft office 12.0 object library" to my application.
--> After adding the reference, how to write the code to open word or excel sheet from my application. Can you explain briefly on this please.
--> Without using the COM objects Can't we write the code to open word/excel sheets by using VS 2008 ???
please explain this...
thank you in advance.
Sam HobbsPosted Sep 16, 2010, 2:32 PM
Otherwise it is a matter of two things; first find the type library in the COM tab of the References and add the reference then add a Using statement. Do you know how to addreferences?