Everything 1.5 SDK via Word2003 VBA

Discussion related to "Everything" 1.5 Alpha.
Post Reply
ChrisGreaves
Posts: 729
Joined: Wed Jan 05, 2022 9:29 pm

Everything 1.5 SDK via Word2003 VBA

Post by ChrisGreaves »

I will be moving to Office 21 before the end of the month, I hope, I hope ...
In the meantime I thought to start building up some expertise in the SDK using dear old Word2003 VBA.

The file Everything-1.2.1.371.zip is downloaded and Extract All'd. I see a folder "dll" and within that folder I see a file "Everything3_x64.dll".
I think "Ahah, I am a 64-bit system, fire up Word2003/VBA editor and try to attache to that DLL as an Addin. In the VBE Tools, References, Browse to the folder T:\Appl\FileHandling\Everything\Everything-SDK3\dll, but Word2003 VBE objects with "Can't add a reference to the specified file"
Win11RecentFiles02.jpg
Win11RecentFiles02.jpg (19.26 KiB) Viewed 559 times
My first guess is that this DLL is not designed to communicate with Word2003.
So
Question 1: At this time, am I supposed to be able to use the Everything SDK package with VBA code in Microsoft Office (2021, or 2003)? If the answer is "No", then I am barking up the wrong tree. Otherwise ...

... I have a Word2003 VBA application, 20+ years old, that would like to obtain a list of all recently used files. This application maintains its own list of files, so its real need is to obtain a list of files modified over the past 24 or at most 48 hours. That done it edits its own list of files, filters, sorts etc quite happily.

Question 2:Is there any anticipation of a VBA interface with the SDK within the next year?
Thanks, Chris
NotNull
Posts: 5769
Joined: Wed May 24, 2017 9:22 pm

Re: Everything 1.5 SDK via Word2003 VBA

Post by NotNull »

Is your Word2003 itself 64-bit though?
To check, type or paste the following in everything's search bar:

Code: Select all

exact:winword.exe add-column:target-machine
x64 = 64-bit, x86 = 32-bit (to state the obvious ..)


Using the SDK with VBA
Visual Basic example
which is basically the same as VBA (dodges pitchforks and torches ..)
ChrisGreaves
Posts: 729
Joined: Wed Jan 05, 2022 9:29 pm

Re: Everything 1.5 SDK via Word2003 VBA

Post by ChrisGreaves »

NotNull wrote: Mon Feb 03, 2025 9:20 pmIs your Word2003 itself 64-bit though? etc etc etc
Thank you, NotNull, for this guidance and these tips. We are in luck; wet snow today so (sigh!) I shall have to stay indoors with steaming mugs of tea, and study. I will report back here.
Cheers, Chris
Post Reply