twinBASIC Update: November 17, 2026
Highlights include long-awaited keyboard shortcut and panel layout editors for the twinBASIC IDE along with an AI-friendlier docs website.
On April 23, 2021, I helped Wayne Phillips introduce the world to twinBASIC at the Access DevCon Vienna conference. I boldly predicted that twinBASIC (along with the Monaco editor) would replace VBA and its outdated development environment by 2025. (And I was oh so close...) With that goal in mind, this weekly update is my attempt to keep the project fresh in the minds of the VBA development community.
Every Sunday Monday week, I will be providing updates on the status of the project, linking to new articles discussing twinBASIC, and generally trying to increase engagement with the project. If you come across items that should be included here, please leave a comment below.
Here are some links to get involved with the project:
- Custom twinBASIC IDE Installation Guide
- twinBASIC Discord Server (chat about the project)
- twinBASIC Documentation (list of new features not in VBx)
- GitHub Issue Tracker (report bugs)
Highlights
* Generated with Claude Opus 5.5
A Keyboard Shortcut Editor for the twinBASIC IDE
You have been able to change the twinBASIC IDE's keyboard shortcuts since at least early 2024, but only by editing JSON by hand. On its own, Window > Keyboard Shortcuts > Manage Keyboard Shortcuts shows each group of shortcuts as JSON text, with a promise: Keyboard editor coming soon.
okas_o has delivered that editor. Help Add-In v1.4.0, released November 13, replaces the JSON with a table of every IDE command, its keys, and a line on what the command does:

- Search by command name, by description, or by key (
ctrl+d). Find a key waits for you to press one and lists the commands bound to it. - See what you changed. Shortcuts are layered: the built-in group first, then your own groups on top. In your group, grey keys are inherited, blue keys are yours, struck-through keys are ones you removed, and yellow keys clash with another command, which the tooltip names.
- Edit a command by clicking its row. Add a key by pressing it; choose whether it runs when pressed, while held, or when released; and choose whether to keep or replace the inherited keys.
- The JSON is still there. A button at the bottom switches to the text, and the table writes every change into it.
Keyboard shortcuts in the docs explains how the groups work.
A Visual Panel Layout Editor
The same release does the same for panel layouts: which tool windows are docked where, and at what size. These are also stored as JSON, and Window > Panel Layouts > Manage Panel Layouts showed them as text. With the Help Add-In loaded, it shows a picture instead: a small IDE window with every docked panel in place and floating panels on top.

- Click a panel to set its size (a share of its group, the rest, or just enough to fit its contents), move it past its neighbor, float it, or remove it.
- Drag a splitter to resize panels, or a floating panel by its title to move it.
- Add a panel from the list of panels the layout lacks, then click near the edge of a tile to dock it on that side.
- Use the current arrangement captures the IDE exactly as it looks now.
The editor also flags broken layouts, such as one with no Editor or with the same panel twice.
How to get them: both editors come with the Help Add-In, which isn't built into the IDE. For now, you download a ~61 MB project file, build its 32- and 64-bit DLLs in twinBASIC, and copy them into the IDE's add-ins folders, as the docs describe. A precompiled add-in and a small installer are in progress. In okas_o's words: "Don't blame Wayne or anyone else for any of it, it's my own doing. Feel free to pester me about problems encountered and improvements desired."
The twinBASIC Docs Website Gets Friendlier to AI Tools
Tom van Stiphout asked Claude to read the twinBASIC documentation page for the Frame control. Claude came back with nothing but the site's navigation menu. Every page carried the full documentation tree in its sidebar, and that tree alone filled the ~80,000 characters Claude's web reader takes from a page.
The next day, okas_o deployed the fix:
The online version's html pages now come with a matching markdown page. Everything an agent needs is available now at https://docs.twinbasic.com and doesn't require fetching from github. The online pages have shrank significantly too - between 5x and 10x.
The fix also covers both suggestions Claude made through Tom: each page's HTML now names its markdown version, and the site root has an llms.txt index, an emerging convention that AI tools look for.
What it means for you: you can now point any AI tool, from a web chat on your phone to an agent on your desktop, at docs.twinbasic.com, or straight at https://docs.twinbasic.com/llms.txt. It will find the actual reference pages instead of guessing from what it knows about VBA, and you don't have to clone anything first.
That said, if you work with a coding agent such as Claude Code or Codex, I still recommend a local clone of the documentation repository. An agent searches a folder of markdown files on your own disk far faster than it can fetch pages from a website, and it spends less time hammering the site.
Calling All MSComm Users: TBComm Needs Testers
MSComm (MSComm32.ocx) is the serial-port control that shipped with VB6. It turns up wherever code talks to hardware directly over a serial port, as with scales, lab instruments and sensors in manufacturing. It is a 32-bit control, so it won't load in a 64-bit program, including 64-bit Office.
fafalone first announced TBComm, a replacement written entirely in twinBASIC, last December. The project then stalled on how MSComm's buffers behave during ongoing operations, with no serial hardware on hand to find out. This week, fafalone put out a renewed call for testers:
But AI has improved substantially since then, and after a lengthy investigation of mscomm's behavior with the latest Fable model on max effort, I think between its abilities and mine TBComm should be working a lot closer to MSComm.
TBComm is meant as a drop-in replacement: "add the package containing the control to your project and swap mscomm.ocx controls for TBComm." It also lifts some old MSComm limits:
- no 16-port limit;
- buffer sizes are
Longinstead ofInteger; EvtCharsupport, for an event when a chosen character (such as a newline) arrives;- any baud rate is passed through to the driver, instead of MSComm's fixed list.
The catch is that the tests so far run against emulated ports (com0com), and real hardware behaves differently. If you have a program that uses MSComm and a real serial device to test it with, send fafalone a DM on Discord. fafalone will also consider adding features that 32-bit-only replacements offer, as long as they don't break compatibility.
TBComm is a twinBASIC package, so it is for twinBASIC projects, not a control you can put on an Access form. For comparison, the official roadmap doesn't get to reimplementing MSCOMM until "2027 Q2 onwards".
Discord Chat Summary
* Auto-generated via Claude Sonnet 5.5
Overview
Over the week of November 10-17, the community focused on v1.0 readiness, with LLVM now described as fully integrated. Other major threads were a drop-in MSComm replacement, a restructured documentation site that AI agents can read, and debates over language syntax and protecting executables from AI reverse engineering. Engagement was high in General and steady in Docs, where okas_o shipped a new Help Add-In release.
Roadmap & Release Status
- fafalone said twinBASIC is still a pre-production beta but close to a stable v1.0. Large programs such as PhotoDemon and the Doom and Quake ports reportedly run largely unchanged.
- fafalone said LLVM is fully integrated, so the website's "optimised builds not yet available" notes should go. okas_o will sweep the docs for similar leftovers.
- waynephillipsea confirmed a form-embeddable Report Viewer control for Report Designer output is planned within the v1.x cycle, not for v1.0.
- waynephillipsea welcomed third-party IDE front-ends but said the team won't officially support them. The official IDE is deliberately HTML/JS so it can move to other platforms.
Bug Reports & Fixes
VarPtr on fixed-size arrays (open): VanGoghGaming found that dereferencing VarPtr of a fixed-size array returns zero. fafalone reproduced it on beta 1044 and 983, and VanGoghGaming saw it on 1028. Dynamic arrays and the ArrPtr alias work, and fafalone recommended filing it in the bugs channel.
Dim myA(0 To 5) As Long, pSA As LongPtr
GetMemPtr VarPtr(myA), pSA ' returns 0 for fixed-size arrays
- okas_o pointed to the documented
array()parameter pattern, whereVarPtrreturns the address of a pointer to the SAFEARRAY. okas_o later said the claim needs re-checking. - yereverluvinunclebert saw blank entries in the project references list on beta 1006. waynephillipsea couldn't reproduce it and suggested trying beta 1044, which fixed it.
Language Enhancements
- A request for
i++met strong resistance as non-BASIC syntax. Supporters pointed to the existing+=and<<=operators. fafalone asked for|=, but VanGoghGaming noted that&=already means something different. - twixydon asked for an
Exit Withstatement. Jumping out of aWithover an array of UDTs leaves the array locked, which causes error 10. For plain objects, jumping out is fine and the object terminates normally. - VanGoghGaming offered workarounds for the lock. One is calling
SafeArrayUnlockbeforeExit Sub. The other is decrementingcLocksdirectly withCType. twixydon found both unappealing for BASIC code.
Libraries & Packages
- TBComm (alpha): fafalone is seeking testers for a drop-in MSComm.ocx replacement. It removes the 16-port limit, accepts
Longbuffer sizes, implementsEvtChar, and passes any baud rate to the driver. It has passed tests against emulated ports and now needs real serial hardware. - jim_mack shared his own 64-bit comm control and suggested live properties for baud rate and stop bits. fafalone is open to exposing more DCB properties, though some would need an enable switch.
- WinDevLib and tbKMode: fafalone's ongoing AI-assisted audit found a bitfield sizing error. Fields can't straddle a storage unit, so padding bits are inserted. His example struct needs 5 bytes, not 4. He plans to cover all of phnt for Native API coverage.
- fafalone updated tbKMode to fix the issues okas_o reported. He deferred two items,
FILE_IO_PRIORITY_HINT_INFORMATIONandPOLICY_AUDIT_SUBCATEGORY_COUNT, pending better evidence and a resync to newer Windows versions.
Documentation & Tooling
- okas_o released Help Add-In v1.4.0, which adds a panel layout editor and a keyboard shortcut editor. A precompiled add-in and a small installer are in progress, after one user found the current install steps unclear.
- Tom van Stiphout reported that an AI assistant couldn't read the Frame package page because the sidebar filled its character limit. On 11/16, okas_o deployed a fix. Every HTML page now has a matching markdown page, and pages are 5x to 10x smaller.
- okas_o published first-cut package documentation for VBFLXGRD18 and an experimental tbKMode section. The tbKMode section has machine-generated reference pages and a verifier that checks declarations against a database built from the Windows Driver Kit. Links to Microsoft Learn are generated automatically.
- okas_o said the docs run to about 1,500 pages and take roughly 15 hours a week. The workflow went from fully manual to machine-first, with every output still reviewed. waynephillipsea called the output quality stunning.
Community Support & Discussion
- A newcomer from the VB6 era got a quick tour: twinBASIC binaries run on Windows XP and newer, and old projects port to 32-bit with little work, while 64-bit builds need updated API declarations and variable types.
- On protecting executables from AI reverse engineering, waynephillipsea agreed with imojenisys that obfuscation can only slow AI down, not stop it. His exact words were, "Even if someone manages to come up with something so complicated that today's AIs can't manage it; it means nothing given the pace of development of AI." Of course, that statement applies verbatim to nearly all software topics in 2026.
- hesanbi2038 demoed a TwinUI-based IDE-style editor, and arrow.loop is building
tbUI3, a set of WinUI3-style controls for UserForms.
Conclusion
LLVM integration is complete, the Report Viewer is slated for v1.x, and the docs site now serves people and AI agents alike. The fixed-array VarPtr bug remains open.
Around the Web
OpenAccess: An Access Alternative Written in twinBASIC
Posted on Access World Forums by ayamnash:
open source -A first step and an invitation to developers to complete this project.
OpenAccess is the foundational first step toward building a standalone, modern desktop database environment and application development platform that runs parallel to Microsoft Access. Written in twinBASIC, its goal is to read, create, query, and manipulate native Microsoft Access database files (.accdb and .mdb) directly at the binary page level while providing an independent desktop IDE and runtime environment.
According to its README, OpenAccess reads and writes .accdb and .mdb files directly, with no Access, Office, ACE or Jet installed, and builds its own DAO object model, SQL engine, query designer and basic VBA interpreter on top. It's early work: the README warns that Access can still reject some files it writes, so try it on a copy of your database. The repository went up on November 12 with prebuilt 32- and 64-bit executables, but no license file yet.
WinDevLib: An AI-Assisted Audit, Module by Module
From fafalone in the WinDevLib Updates show-and-tell thread:
The first update of a major series of planned bugfix updates is now out. I'll be having Claude review WDL for errors over the coming weeks with any leftover usage from my tB work. I expected it to find some, but the amount has been very humbling. Please review the list even though it's long; some fixes may have had simple workarounds you were using, not all will raise immediate errors when updating.

WinDevLib is fafalone's twinBASIC package of Windows API definitions. Since November 2, six releases (v9.5.750 through v9.5.764) have fixed hundreds of declarations, a few modules at a time, and some of those fixes are breaking changes. If you use WinDevLib, read the changelogs in the README before you update.
Changelog
No new releases this week; the latest build is still BETA 1044 (November 9). You can find every build on the GitHub twinBASIC Releases page.

