What has changed in the demo databases and in the modules you can download, newest first.
How the versions work. The demo databases and the shared modules did not carry version numbers until now. They do from v2 onwards. Both demos download under fixed file names, so the version inside the database is the reliable one:
- the splash screen names it when the database opens
- the Access title bar carries it while the database is open
- each shared module states it in its own copyright header, for example
' Module version 2, for VBAuth 1.0.0.3
The version of the demo is separate from the version of VBAuth itself. v2 of both demos runs against VBAuth 1.0.0.3, and says so.
v2 – 11/09/2026 #
A quality pass over the VBA. Released as one set: the free demo database, the complete feature demo database, and the three shared modules on the downloads page.
Most of it is comments, structure and layout – procedure headers that say what each routine
does and what it returns on failure, a note on every declaration, block-form If throughout.
A small number of changes alter behaviour, and those are set out below. One of them will
affect you if you have built on the token cache.
Everyone: three functions that did not exist before #
All three are new Public functions, available to your own code.
| Function | In | What it does |
|---|---|---|
IsValidGUID(strValue) | modVBAuthGlobalConstants | reports whether a string has the shape of a GUID – the check to make before a pasted Client ID or Tenant ID is stored or used to sign in |
VBAuthDLLPath() | modStartup | the full path the installer writes VBAuth.dll to, worked out from the environment |
VBAuthDLLIsInstalled() | modStartup | True when the DLL is found at that path |
VBAuthDLLPath replaces a hardcoded C:\Program Files\VBAuth\Graph Authenticator that was
wrong on any machine with Windows on another drive. The consequence was not cosmetic: that
value was concatenated into the RegAsm command shown when the DLL fails to load, and RegAsm
requires an assembly rather than a directory, so the repair instruction had never worked. It
now names the DLL and does. If you have your own check against a hardcoded path, this is
worth adopting.
If you have taken the shared modules into your own application #
ClearTokenCache no longer shows a message. It used to end with a confirmation dialog.
A library routine should not raise dialogs, so it is now silent and the message has moved to
the button that calls it. If you have wired a button to ClearTokenCache, that button now
does its work and says nothing. Add your own:
Private Sub cmdClearCache_Click()
ClearTokenCache
MsgBox "Token cache cleared - both the cache array and the current token.", _
vbInformation, "VBAuth"
End Sub
Code language: PHP (php)
It gains something at the same time: the cache array is now rebuilt on the next token
request, so rows added to lclVBAuthAdmin while Access is open are picked up rather than
ignored until a restart.
IsValidGUID may collide. If you already have a Public IsValidGUID of your own,
importing the new modVBAuthGlobalConstants gives “Ambiguous name detected”. Rename one of
the two. If instead you have a Private copy inside one of your own forms, that copy
quietly shadows the shared one within that form – harmless, but worth deleting.
Take the shared modules from one source, not two. The three modules are identical in the free demo, the complete feature demo and the downloads page, so it makes no difference which you take them from. Mixing an updated module with an older form taken from somewhere else is where trouble comes from.
Smaller corrections in the shared modules #
SetEntraAPPIdValuesno longer raises a dialog under any circumstance and reports
everything throughstrMessage. The message it used to be able to show sat behind a test
that could never be true.FindSharedRegistrationhas its own error handler. A failed read used to be
indistinguishable from “no matching registration found”; the two are now told apart and the
reason is put instrMessage.CheckDependenciesformats its results correctly where an entry carries no required
version, and where the DLL returns a separator row.- Database handles are closed before they are released throughout, and
AcquireBearerToken‘s error path releases everything it could be holding.
If you have the free demo database #
The whole database has had the pass – thirteen files. The changes above apply, plus corrections to the feature modules and the forms. Contact checking now reports every address it could not resolve rather than stopping at the first, the Bookings tab no longer reports itself configured when a different feature is, and two confirmation prompts no longer act on No as though it were Yes.
VBAuth Free Demo Update Notes.md in the download ZIP has the full list, and the same text
is in the database as modReadMe.
If you have the complete feature demo database #
This release updates three modules and one event handler, and nothing else. The twenty-one Graph feature modules, the administrative modules and the nine forms are the same code as v1; their pass is v3. The demo behaves as it did – the Clear Cache button still confirms, because the message moved into the button rather than disappearing.
One thing to know if you are reading the code: v2 carries three copies of IsValidGUID – the
new shared one, and the original Private copies inside frmConfigureFeature and
frmSetupWizard. That is intended and temporary. The forms go on using their own copies,
which are identical, and the duplicates are removed in v3.
VBAuth Complete Feature Demo Update Notes.md in the download ZIP has the detail, and the
same text is in the database as modReadMe.
What is coming #
| v3 | the complete feature demo finished – the feature modules, the administrative modules and the forms, with the matching downloadable modules issued at the same time |
| v4 | the monolith release, which changes how a single Entra app registration can serve more than 1 feature |
The remaining downloadable feature modules stay at their current versions until v3. If you are starting a project now and want to know what is about to change under you, email web-admin@vbauth.com and we will tell you.
VBAuth, developed and maintained by Andrew Richards (The IT Service Ltd) and Peter Bryant (Corylus Business Systems), (c) 2025-2026. https://vbauth.com