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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Sam HobbsRank #107 · 20.5K reputationPosted Sep 16, 2010, 10:32 AM EDT
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?
R J192 reputationPosted Sep 16, 2010, 9:23 PM EDT
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.
Mahesh ChandRank #1 · 393.3K reputationPosted Sep 16, 2010, 9:36 PM EDT
R J192 reputationPosted Sep 16, 2010, 9:48 PM EDT
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
Sam HobbsRank #107 · 20.5K reputationPosted Sep 16, 2010, 10:28 PM EDT