Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / July 2005

Tip: Looking for answers? Try searching our database.

new file format to be opened in word automatically ?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Herve cadieu - 21 Jul 2005 11:34 GMT
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
moi - 21 Jul 2005 14:36 GMT
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

> Hi
> I have saved a .doc file after RSA encryption under "filename.glk"
[quoted text clipped - 12 lines]
> Best regards from Paris to all.
> Herve Cadieu

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.