Hi All

I need open a document in Read only mode using Javascript. i find out code like "wordDoc.ActiveWindow.View.Type = Word.WdViewType.wdReadingView;" how to use this into javascript
any one help me for this...

Thanks

Member Avatar for stbuchok

What code is that? As far as I know, there is no JavaScript that can do this for you. JavaScript doesn't have access to file information.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.