moi
Thu Jul 21 08:36:38 CDT 2005
Bonjour Herve,
It's not too tough I guess.
- In Windows Explorer, right click a .glk file and associate it with Word.
- In Word create a template with an AutoOpen macro for triggering a document
open event.
- If a document is opened, just check the extension - Right(
ThisDocument.Name, 4 ) - if it's .GLK, perform your encryption, if it's not,
up to you.
A sample in a document is here
http://www.geocities.com/smplprgrsrc/files/GLK-Opener.zip
"Herve cadieu" <Hervecadieu@discussions.microsoft.com> schreef in bericht
news:BA450073-E9DB-45D9-A7C2-5DFA4839A455@microsoft.com...
> Hi
> I have saved a .doc file after RSA encryption under "filename.glk"
> I would like to open through word and the appropriate decryption VBA
> routine(stored in a decryption.dot template) this .glk file with just a
> double clik on it.
>
> That is to say double clicking on the glk file will
> start word
> start the decryption routine
> to then open the "filename .GLK" file in word.
> automatically
>
> Who can help me to this end ?
> any help much appreciated ! Code snippet is a must !
> Best regards from Paris to all.
> Herve Cadieu
>
>