Is there a way to automate Viewing Only of Word Files?

C

Clive

I'm writing an document mailmerge / storage system that automates Word in
various ways but there are times when I want to let users just View word
..doc or .dot files but not give them any false sense of secutiry that they
can edit at that time.

Opening for Readonly is no good because it still lets the user do edits,
albeit they save somewhere else.

I've seen 3rd party viewer ActiveXs - I tried one but it conflicted with the
MS Word that was active at the time - no good for me.

I've tried opening word files in an IE window on a vb Form. is this the
best way?

Any help, as always, much appreciated.


Clive Elsworth (London, UK)
 
J

Jonathan West

Clive said:
I'm writing an document mailmerge / storage system that automates Word in
various ways but there are times when I want to let users just View word
.doc or .dot files but not give them any false sense of secutiry that
they can edit at that time.

Opening for Readonly is no good because it still lets the user do edits,
albeit they save somewhere else.

I've seen 3rd party viewer ActiveXs - I tried one but it conflicted with
the MS Word that was active at the time - no good for me.

I've tried opening word files in an IE window on a vb Form. is this the
best way?

Any help, as always, much appreciated.

Hi Clive,

You could temporarily protect the document for forms when opening it from
your application. This would protect the document against casual or
accidental editing.

--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
 
C

Clive

Jonathan

Many thanks, works a treat.

Clive


Jonathan West said:
Hi Clive,

You could temporarily protect the document for forms when opening it from
your application. This would protect the document against casual or
accidental editing.

--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top