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)

Re: Is there a way to automate Viewing Only of Word Files? by Jonathan

Jonathan
Mon Apr 16 11:34:24 CDT 2007


"Clive" <clive.elsworth@takeoutonetel.net> wrote in message
news:uvqGoqDgHHA.4032@TK2MSFTNGP02.phx.gbl...
> 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


Re: Is there a way to automate Viewing Only of Word Files? by Clive

Clive
Tue Apr 17 02:15:23 CDT 2007

Jonathan

Many thanks, works a treat.

Clive


"Jonathan West" <jwest@mvps.org> wrote in message
news:uBnyNZEgHHA.4552@TK2MSFTNGP04.phx.gbl...
>
> "Clive" <clive.elsworth@takeoutonetel.net> wrote in message
> news:uvqGoqDgHHA.4032@TK2MSFTNGP02.phx.gbl...
>> 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