🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #12247

Getting a file name and Path

#12247
From: Marc
Date: Wed, 17 Dec 2003 16:04
13 lines
1161 bytes
Hi

If I have a handle to the MS Word window which has a document 
open.  Can I retrieve the name of the document and its full 
path without using OLE automation.  I would like to achieve 
this using APIs.

Is this possible, I have looked for a solution and can't find
anything but OLE.  I am also open to an native C++ solution.

Thanks
Marc
Technical Details
Message-ID: <3fe08c95$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,83bc1aa467cba6a5,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-12-17 09:10:22 PST
From: "Marc" <remove_Bukwheat@axess.com>
Sender: "Marc" <remove_Bukwheat@axess.com>
Reply-To: "Marc" <remove_Bukwheat@axess.com>
Subject: Getting a file name and Path
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 138.11.254.204     
X-Forwarded-For: unknown
NNTP-Posting-Host: 207.105.83.66
Message-ID: <3fe08c95$1@newsgroups.borland.com>
Date: 17 Dec 2003 09:04:21 -0700
X-Trace: newsgroups.borland.com 1071680661 207.105.83.66 (17 Dec 2003 09:04:21 -0700)
Lines: 17
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail