Word helper (Microsoft Word automation wrapper)

User contributed sources that have become inactive, deprecated, or generally unusable. But ... we don't really want to throw them away either.
phishguy
Posts: 1201
Joined: May 05, 2006 16:12
Location: West Richland, Wa

Post by phishguy »

Ok - I wrapped the worddir functions
Here is a new example:

Code: Select all

#include "wordhelper.bas"

dim filecount as integer

wordstart

'returns the number of files that match the filespec 
filecount = worddir("*.*","C:\freebasic\",true)

'worddiritem returns item number x from previous worddir call
for x as integer = 1 to filecount
    wordtypetext(worddiritem(x))
    wordparagraph
next x

wordsaved
wordrelease
 
muguk
Posts: 8
Joined: Jul 20, 2008 19:55
Location: Stockport (Cheshire), UK
Contact:

Re: Word helper (Microsoft Word automation wrapper)

Post by muguk »

Apologies for digging up an old thread, but is Wordhelper still being updated?

I ask because I'd like to convert a really slow part of my Word Add-In into a separate program via FreeBASIC so that it speeds it up a lot.

My Word Add-In: http://mikestoolbox.weebly.com

The function I'd like to convert is the Document Properties Reporter which examines every Word file in a particular drive / network location and spills the beans on everything useful it can find: the usual properties, template used, fonts used in Headings 1- 9, TOC 1-9 and loads of other bits and pieces.

Or is there a more recent FB library / DLL option?
geminis4941
Posts: 64
Joined: Jul 15, 2009 12:41

Re: Word helper (Microsoft Word automation wrapper)

Post by geminis4941 »

Someone have a copy of wordhelper.bas file ?
Last edited by geminis4941 on Jan 15, 2018 11:37, edited 1 time in total.
Post Reply