You are here: Office-Outlook.com  / Outlook Forum

How to get the name or path of opened file in MSWord?

Home » Outlook addins and plugins development » Developer Outlook add-ins
How to get the name or path of opened file in MSWord? [message #796] Tue, 08 August 2006 10:49 Go to next message
hamidC
Messages: 4
Registered: August 2006
Junior Member
I am trying to write an addin for MSWord which encrypts a MSWord file
In order to encrypt a file opened in Word I need to get the file's path or
name from Word. How should I do this job?
Thanks,
HamidC++
Re: How to get the name or path of opened file in MSWord? [message #798] Tue, 08 August 2006 22:18 Go to previous messageGo to next message
hamidC
Messages: 4
Registered: August 2006
Junior Member
Can you explain it to me a bit more. I am a very beginner in the concept.
Thanks,

"Ken Slovak - [MVP - Outlook]" wrote:

> The Object Browser is your friend. Every Document object has Name, FullName
> and Path properties.
>
> --
> Ken Slovak
> [MVP - Outlook]
> http://www.slovaktech.com
> Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
> Reminder Manager, Extended Reminders, Attachment Options
> http://www.slovaktech.com/products.htm
>
>
> "hamidC++" <hamidC@discussions.microsoft.com> wrote in message
> news:2406C393-7560-4402-9BDC-787B159D8562@microsoft.com...
> >I am trying to write an addin for MSWord which encrypts a MSWord file
> > In order to encrypt a file opened in Word I need to get the file's path or
> > name from Word. How should I do this job?
> > Thanks,
> > HamidC++
>
>
Previous Topic:Deploying Excel Com Addin Problems again
Next Topic:problem in using namespace Word
Goto Forum: