Question Locked

Windows application needs to open a word document

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

My application is almost done but have a few loose ends to finish. This is my first app and a real learning experience.

I have a window application written in .Net 2003. From a menu item the user needs the ablity open a Word document (Read Only) that is located a shared drive. What code do I need to accomplish this?

2 replies

by tony hopkinson

Open it in an ole container within your app.
Or simply launch the document and rely on file associations to launch word.

Ole container gives you control, but with the issues of mainataining it. Version of word can cause you a whole host of 'erm difficulties for instance

Launch gives you near unlimited flebility and very low maintenance. but your read only requirement would have to be done through word's mechanisms.

Note shared drive is also a range of assumptions particularly on deployment. Be careful of Vista in this reqard. Access through a UNC as opposed to a mapped drive.

Google either of the above for more information.

This discussion is closed to new replies.