0

I want to open a doc/docx file to a specific page using Word. Currently I use Process.Start() and can't figure it out with what to replace it for this job.

The purpose is just for viewing the document. I have a database based on fileLocation/pageNumber and this function must open the file directly to that page.

I would appreciate any solution/alternative. Thank you!

Maarten van Stam
  • 1,901
  • 1
  • 11
  • 16
the0mega
  • 1
  • 2

1 Answers1

1

Have you concidered workinig with interop? If so check the following

how can we open a word file with specific page number in c sharp?

Another solution would be to use a bookmark and navigate there as show in

How do I use the Microsoft Word API and Bookmarks feature to programmatically open a Word document to a specific location?

Community
  • 1
  • 1