Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.basic.visual.misc > #109

Re: Trying to get author / title of a DOC file in VB2005

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.glorb.com!news2.glorb.com!news-xxxfer.readnews.com!textspool1.readnews.com!transit3.readnews.com!news-out.readnews.com!postnews7.readnews.com!not-for-mail
Date Mon, 25 Apr 2011 15:57:37 -0400
Newsgroups comp.lang.basic.visual.misc
Mime-Version 1.0
Content-Type text/plain; charset=iso-8859-1
Content-Transfer-Encoding 8bit
X-Newsreader Virtual Access Open Source http://www.virtual-access.org/
Organization RDP
Message-Id <VA.000001d0.badb09e5@rdpslides.com>
Subject Re: Trying to get author / title of a DOC file in VB2005
From Steve Rindsberg <steve@rdpslides.com>
Reply-To steve@rdpslides.com
References <6rvumrm3obrf.18ghpw0izr9tr.dlg@40tude.net> <a2q8r69itkcafeevjndgir6ri06eveb4p5@4ax.com>
Lines 31
NNTP-Posting-Host fb5fe820.news.iglou.com
X-Trace DXC=;C>TP<2;?3VjT:G\be_IU]?d1JL[FQ2iUnZ@RbAjodQVKZ:c?9jk:o]QRem6<;fd0W=Z:aZcZ:D`P
X-Complaints-To abuse@iglou.com
Xref x330-a1.tempe.blueboxinc.net comp.lang.basic.visual.misc:109

Show key headers only | View raw


> The retrieving and editing this information without automation has
> typically* been done via the OLE Compound document interfaces -
> IPropertyStorage and IPropertySetStorage.
> for example:
> "How To Read Compound Document Properties Directly with VC++"
> http://support.microsoft.com/kb/q186898/
> 
> Another way of doing this ...
> "The Dsofile.dll files lets you edit Office document properties when
> you do not have Office installed"
> http://support.microsoft.com/kb/q224351/
> 
> A little research online with those intefaces as keywords should
> produce several VB.Net examples (or more likely C# solutions which you
> can convert or employ directly within your VB.Net application.)
> 
> hth
> 
> -ralph
> [* there are also several schemes to mine this 'meta-information'
> directly from the binary file, but such 'hacks' are usually very
> fragile and always version dependent. Files stored in the new XML
> formats (eg. docx) can also be mined as you might any ASCII file.]

Or rather, the XML and other data in DOCX files can be mined once you extract 
them from the ZIP container.  All of the Office *.*X files are ZIP files.

I'm guesing that DSOFile doesn't know what to do with these.  Is that 
correct?

Back to comp.lang.basic.visual.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Trying to get author / title of a DOC file in VB2005 AlJones <al@mywebhome.net> - 2011-04-24 12:24 -0500
  Re: Trying to get author / title of a DOC file in VB2005 ralph <nt_consulting64@yahoo.net> - 2011-04-24 13:42 -0500
    Re: Trying to get author / title of a DOC file in VB2005 ralph <nt_consulting64@yahoo.net> - 2011-04-24 13:45 -0500
    Re: Trying to get author / title of a DOC file in VB2005 AlJones <al@mywebhome.net> - 2011-04-24 14:17 -0500
      Re: Trying to get author / title of a DOC file in VB2005 ralph <nt_consulting64@yahoo.net> - 2011-04-24 15:33 -0500
      Re: Trying to get author / title of a DOC file in VB2005 "Mayayana" <mayayana@invalid.nospam> - 2011-04-24 23:22 -0400
    Re: Trying to get author / title of a DOC file in VB2005 Steve Rindsberg <steve@rdpslides.com> - 2011-04-25 15:57 -0400
      Re: Trying to get author / title of a DOC file in VB2005 GS <gs@somewhere.net> - 2011-04-25 16:48 -0400
        Re: Trying to get author / title of a DOC file in VB2005 GS <gs@somewhere.net> - 2011-04-25 16:49 -0400

csiph-web