Word helper (Microsoft Word automation wrapper)

User projects written in or related to FreeBASIC.
phishguy
Posts: 1201
Joined: May 05, 2006 16:12
Location: West Richland, Wa

Postby phishguy » May 01, 2010 0:09

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)

Postby muguk » Jan 15, 2015 8:34

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: 61
Joined: Jul 15, 2009 12:41

Re: Word helper (Microsoft Word automation wrapper)

Postby geminis4941 » Jan 15, 2018 11:28

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

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 14 guests