Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
Hi,

How can open word document 2007 inside the asp.net page using vb.net.
i am using VS2008, VB.Net, Office 2007 and Window 7 OS.

Any idea or suggesstion or any links.........

Thanks
Mukesh
Posted

Check the discussion. Opening word doc in browser without save as dialog.
opening word doc in browser[^]
 
Share this answer
 
What nobody mentioned is that the client has to have either Word 2007 or better or Word 2007 Viewer installed on their workstation in order for this to work. you cannot just send any Word document to any machine and expect it to display without having something on the client end to interpret the document contents and render it properly.
 
Share this answer
 
Yes you can do it.
U need to use word com application.
Do you want to open an existing file OR create new file ?

if you want to open and existing file then no need to use word API
just use Window.OpenModalDialog() and give the path of Word file
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900