VibeBasic
New in 0.16IntelliSense, with a one-line explanation for every item in the lists and tips. → A Visual Basic 6 clone

Draw the form. Write the code. Press F5.

VibeBasic is a curious little clone of Visual Basic 6, in the Windows 98 look, for macOS, Windows and Linux. Draw a form, double-click a button, write the code behind it and run it, the way it was done in 1998. If you like, an AI assistant on a model you run yourself can help.

If you like VibeBasic, please consider supporting further development.

☕ Support me on Ko-fi
Free and open source (MIT)macOS, Windows and LinuxNo accountA hobby project
The VibeBasic window: the Toolbox on the left, the Drawing App form in the designer with a colour box, a brush box, a Clear button and a drawing area, its code window in front, and the Project and Properties windows on the right, all in the grey Windows 98 look.
The Drawing App starter project in the form designer, with its code window.
Download

Version 0.16.0

— downloads— visitorscounted once the page is on stigern.net

VibeBasic is free, open source and has no account. The files come from the release on GitHub, where GitHub Actions builds every version from its source. It is a hobby project and still changes between versions.

macOS

macOS 12 or later, Apple silicon. Unzip it and move VibeBasic to Applications.
VibeBasic-0.16.0-macos-arm64.zip6.8 MB
Download

Windows

Windows 10 or 11, 64-bit. The installer adds a Start menu entry and an uninstaller.
VibeBasic-0.16.0-windows-x64-setup.exe5.1 MB
Download

Windows, portable

Just VibeBasic.exe in a zip, nothing installed.
VibeBasic-0.16.0-windows-x64.zip6.9 MB
Download

Linux, Debian and Ubuntu

64-bit, Debian 12 or Ubuntu 22.04 and newer. sudo apt install ./VibeBasic-0.16.0-linux-x64.deb installs it with what it needs.
VibeBasic-0.16.0-linux-x64.deb9.1 MB
Download

Linux, other distributions

An AppImage: make it executable with chmod +x and run it.
VibeBasic-0.16.0-linux-x64.AppImage86.9 MB
Download
SHA-256 checksums
0733d40cf0d63a69c7865ccb1fbedba92fef798dfa515e23d4bbf50f5968c1e8 VibeBasic-0.16.0-macos-arm64.zip
a59aaa560f8780b558a9a523729831b0636687ff468572fd132e03a3d0ec4110 VibeBasic-0.16.0-windows-x64-setup.exe
1d4849a5e35a70bf3c920d5b7817dc25fbb358633ae574f10e31caa8d8da2ec3 VibeBasic-0.16.0-windows-x64.zip
121d8f054b6b625a08da09270cbc1f9e495656136876162d90ff7fe431937eef VibeBasic-0.16.0-linux-x64.deb
b4df9ef89603425453c1c711fa8c91f3fac927dcfc982b1e2897f3ac7f98844b VibeBasic-0.16.0-linux-x64.AppImage

Check a download with shasum -a 256 followed by the file name. GitHub shows the same checksums next to each file of the release.

Mac: the first start

The app is not signed by Apple, so macOS asks once. Right-click VibeBasic and choose Open, then Open again. On macOS 15 or later, try to open it once, then click Open Anyway under System Settings > Privacy & Security.

Windows: the first start

If SmartScreen says Windows protected your PC, click More info, then Run anyway. VibeBasic uses the Microsoft Edge WebView2 runtime, which Windows 10 and 11 have; the installer fetches it when it is missing.

Linux

VibeBasic needs WebKitGTK 4.1, which the .deb pulls in. The AppImage brings its own, but the programs you make with it use the system's: sudo apt install libwebkit2gtk-4.1-0 on Debian and Ubuntu, sudo dnf install webkit2gtk4.1 on Fedora.

Source code

Everything is on GitHub under the MIT license, with every release and how to build it yourself.

Free. What changed is in the changelog below. If you find it useful, you can support me on Ko-fi.

☕ Support me on Ko-fi
How it works

Start a project, draw a form, press run.

Step 1

Start a project

The New Project dialog has the project types you remember, Standard EXE, MDI Application, Sub Main and a Data Project, plus starter programs you can run at once: a Text Editor, a Drawing App and a Serial Terminal. The AI Wizard builds one from a description.

Step 2

Draw the form

Drag controls from the Toolbox, set them up in the Properties window, build menus in the Menu Editor, and double-click a control to write its event code.

Step 3

Run it, then make it

F5 runs the program in real windows. File → Make builds a program of its own from the project: an .app on a Mac, an .exe on Windows.

The New Project dialog in the Windows 98 look, with icons for Standard EXE, MDI Application, Sub Main, Data Project, AI Wizard, Text Editor, Drawing App and Serial Terminal, and tabs for New, Existing and Recent.
New Project, with the Existing and Recent tabs, as in VB6.
The IDE

The parts you remember, where you remember them.

If you have used Visual Basic 6, you know where things are, and the keys are the same: F5 runs, F9 sets a breakpoint, F8 steps, Ctrl+Break stops in break mode.

The Drawing App running in VibeBasic: a window with a colour box set to Blue, a brush size box and a Clear button above a drawing of a house, a green wave, three birds and a yellow sun, in front of the IDE.
The Drawing App running, in front of its own code.

The VB6 language

Subs and functions, control arrays, On Error, class modules with events, file I/O, SaveSetting, Collection, Dictionary and FileSystemObject, with VB6's own rules for numbers and dates.

Debugging

Breakpoints, stepping, the Immediate, Locals, Watch and Call Stack windows, and data tips. With Edit and Continue you fix the code in break mode and carry on, every variable kept.

Controls

About 60 kinds: the built-in ones, and the common ActiveX controls under Project → Components, from TreeView and ListView to MSFlexGrid, Winsock and MSComm.

Databases

The Data control, the ADO Data Control, DataGrid and data binding, on SQLite files instead of Access .mdb files.

Graphics and printing

Line, Circle, PSet, PaintPicture and the Paint event, and a Printer object that prints through a print preview.

Old projects

File → Open Project reads VB6 .vbp projects with their forms, modules and classes, and reports anything it cannot use.

New in 0.16

IntelliSense, with an explanation for each item.

The lists and tips you remember from VB6, written for someone learning to program: every member, constant and parameter says in one line what it does.

A code window in VibeBasic while typing MsgBox: a yellow tip above the line shows MsgBox's parameters with Buttons in bold and what MsgBox does, and a list below offers vbOKOnly and vbOKCancel, with the explanation Shows only an OK button beside it.
Parameter Info above the line, and the MsgBox button constants with what each one does.
List MembersAfter a dot: the members of a control, a form, your own classes and Types, and objects such as Collection, FileSystemObject or an ADO Recordset. Ctrl+J
List ConstantsAfter = on a property such as WindowState, and at arguments that take constants, such as the buttons of MsgBox.
Parameter InfoThe signature of the call you are typing, with the current parameter in bold. Ctrl+Shift+I
Quick InfoHover over a name to see what it is: a variable's type and where it is declared, a constant's value, a built-in's explanation.
Complete WordNames in scope, built-ins and keywords. Ctrl+Space
AI, if you want it

An assistant on a model you run yourself.

The AI features are optional. They talk to any OpenAI-compatible server, such as Ollama, LM Studio, vLLM or llama.cpp, on your own computer or your own network. Tools → Options → AI can search the network for one.

The AI Wizard dialog: a description of the program, choices for look and improvements, and the request that will be sent to the AI.
The AI Wizard turns a description into a new program, then tries it and fixes run-time errors.
The Ask AI dialog in a code window: the request, what to work on, optional images and instructions, and the context that will be sent.
Ask AI changes the code or form you are working on, and shows exactly what it sends.

A hobby project, made with Claude, shared as is.

VibeBasic is a curious project I wanted to share. It is made with Claude Code, and it is still changing between versions. It runs VB6-style code in its own interpreter: it does not run VB6 .exe files or real ActiveX .ocx controls, and Declare (calling DLLs), UserControls, the OLE container and DDE are not supported yet.

The look is inspired by Visual Basic 6 and Windows 98; the icons are original artwork. VibeBasic is not affiliated with Microsoft.

Changelog

What changed in each version.

Version 0.16.0

2026-12-02

IntelliSense, as in VB6 and written for people learning to program: lists of members, constants and types, Parameter Info and Quick Info, each with a one-line explanation. Plus the VB6 constants VibeBasic lacked, a VB Enterprise Edition Controls project type, Select All in Project > Components, and text in bigger fonts that is no longer cut off.

Added

  • IntelliSense with explanations, as in VB6, written for people learning to program. List Members after a dot (controls, forms, your classes and Types, Collection, the FileSystemObject and ADO objects, App, Screen, Printer, Debug and more), List Constants after = and at arguments that take constants (MsgBox "Hi", vbYesNo), the types after As, and Complete Word (Ctrl+Space; Alt+Esc on a Mac). Each option shows a one-line explanation beside the list. Parameter Info shows a call's signature above the line with the current parameter in bold and what the call does below it, for built-ins, statements, control methods and your own Subs and Functions. Quick Info (hover, or Ctrl+Shift+I outside a call) tells what a name is: a variable's type and the line it is declared on, a procedure's parameters, a built-in's explanation, a constant's value. In break mode the data tip with the value wins. Edit menu: List Members (Ctrl+J), Quick Info and Parameter Info (Ctrl+Shift+I), Complete Word; Tools > Options > Editor: Auto List Members and Auto Quick Info. Ctrl+I stays Ask AI.
  • The VB6 constants for many control properties that VibeBasic lacked, such as vbMaximized, vbBSNone, vbCenter, vbStartUpScreen, vbTransparent and vbOpaque, so code copied from VB6 runs unchanged.
  • New Project: VB Enterprise Edition Controls, as in VB6 Pro and Enterprise: a project with one form and the common ActiveX controls already in the Toolbox (Common Controls 1 to 3, Common Dialog, Rich Textbox, FlexGrid, the Tabbed Dialog, Internet Transfer, Winsock, MSComm, SysInfo, Chart, Masked Edit, Multimedia, and the ADO Data, DataGrid and DataList controls), so you need not find them in Project > Components first.
  • Project > Components has a Select All button: every component at once, so all their controls come into the Toolbox. Edit > Undo takes it back.

Fixed

  • Text in a bigger font gets a taller line, so it is no longer cut off at the top and bottom. A Label with an 18 point title kept the 13 px line of MS Sans Serif 8, and its text looked too big and out of place in its box. This applies to labels, text fields, list rows and a Frame's caption.

Version 0.15.0

2026-12-02

Edit and Continue, as in VB6: fix the code while the program is stopped and carry on. The AI Wizard now tries the program it made and fixes run-time errors. Plus a bug hunt in the AI assistant against a new local model (a vision model on vLLM), with ideas taken from VisualVibe.

Added

  • Edit and Continue. In break mode the code can be edited; F5 or a Step carries on at the same place in the edited code with every variable kept, as in VB6. Edits that cannot continue (the module's declarations, a running block's header, a running procedure renamed or given other parameters) ask to restart or undo the edit. Ask AI on a run-time error now applies its fix and carries on.
  • AI Wizard: Try the program and fix run-time errors (on by default). Once the form is made, the program runs out of sight: a number, nothing and nonsense go into each TextBox, and each CommandButton except Close, Exit and Cancel is clicked. A run-time error goes to the AI the way Ask AI on an error does, with the failing line's values, and the fix is applied without a preview. Then the program is tried again, at most three fixes in all, and Edit > Undo takes all of them back at once. A progress dialog with Cancel shows each step. Files and SaveSetting go to a scratch area in memory and databases to SQLite in memory, never to your disk; MsgBox and InputBox are answered at once, and a program that needs the network, a serial port or the printer is not tried further. The progress dialog now names the AI model and thinking level, shows what the try does at the moment ("Typing \"abc\" into 3 text boxes, then clicking Calculate"), keeps a timed log of the errors found and the fixes applied, and shows the time so far. The AI's waiting dialog says which error it is fixing ("Fix 1 of 3: asking <model> about run-time error 11 in cmdCalc_Click..."), and the final message lists what happened.

Fixed

  • Form mode and the AI Wizard make a control taller (or wider) when its text is bigger than the control, as with a title in a large font: the text was cut off at the top. The layout check reports text that is too tall for its control, and the form prompt says how much Height a bigger font needs.
  • Form mode and the AI Wizard can set a control's font at design time (FontSize, FontBold, FontName, FontItalic, or a whole Font), as VB6 does in the Properties window. Before, every bold title was dropped as "run time only" and cost a second, slow AI round.
  • An MDI Window menu built from an empty item named like mnuWindowList (or with WindowList on a sub-item) puts WindowList on the top-level menu instead of adding an empty item.
  • The form prompt says that a TextBox's or Label's Alignment 1 is Right and 2 is Center, unlike a StatusBar panel's; "right-aligned" displays came out centred.
  • Form mode takes a colour as "RGB(43, 43, 43)" or "#2B2B2B" text too. Asked for a dark look, the model worked out the BGR number of a dark grey wrongly and coloured the form red.
  • A TabStrip answer that puts Frames inside the TabStrip is told the VB6 way (Frames on the form over the TabStrip, switched in its Click by SelectedItem.Index), instead of being sent to an SSTab. Code using TabStrip1.Tab is pointed to SelectedItem.Index.
  • The AI's language card says that Load chk(n) needs an index not loaded yet (chk.UBound + 1). A generated to-do list loaded element 0, which already existed, and stopped with error 360.
  • The AI code check catches Chr(n) of a number past 255, which raises error 5, and suggests ChrW. A generated to-do list marked done tasks with Chr(271) and failed on its first Add.
  • Replies whose thinking was opened by the chat template (only a closing </think>, as Ollama and LM Studio send for Qwen) no longer show the thinking as the answer. A <think> inside the answer, for example in a string, is kept.
  • Server errors are read in more shapes: vLLM's error object inside a stream (it showed as "interrupted"), a top-level message and FastAPI's detail lists. A model name the server does not have and a 503 while the model loads get a hint.

Changed

  • Form mode lines up a control that is 1 to 60 twips out of line with a similar neighbour itself, instead of asking the AI for another round. A move that would cause any new layout problem is left to the AI.
  • A colour or look property that a control type does not have (ForeColor on a CommandButton, GridLines on a DataGrid) is a note in the preview, not a reason for another AI round. So are uneven gaps on their own: a title or a section break makes them uneven on purpose.
  • Form mode and the AI Wizard ask the AI again when a button they add has no Click procedure, or a button or menu item has an empty one.
  • Form mode reads a "place" put inside props or written as text ("place":"below txtName"). A new control the answer gives no position at all goes below the control added before it, not on top of the others at the form's corner.
  • A plural property name for a list (TabCaptions) is read as the property (TabCaption), and an SSTab given only its captions gets as many tabs. The control list shows TabStrip Tabs and StatusBar Panels as JSON lists, one item per tab or panel.
  • tests-live/: five AI Wizard tasks. Each builds a whole program from the wizard's own request, starts it, types numbers, nothing and nonsense into every box, and clicks every button.

Version 0.14.1

2026-11-30

Fixed

  • Open and Close keep a file number and path reserved until the backend has finished, so an Open from another event can no longer truncate a file that is still opening or flushing.
  • CDec keeps every digit of text with grouping, a currency sign, parentheses or a trailing sign (CDec("$12,345,678,901,234,567,890.25")). A huge exponent raises overflow (error 6) instead of an internal error, and a tiny one rounds to zero.
  • AI answers no longer break when a provider ends lines with CR alone, when CRLF is split between chunks, or when the native stream starts with a split UTF-8 BOM. After a provider error, the browser releases the response stream.
  • Saving a project works for any filename the filesystem accepts, including names near its length limit.
  • A native SQLite write still waiting for its connection when the database is closed or the program restarts fails with error 3420 instead of running afterwards.
  • An ADODB.Recordset follows its row after an update changes the row's INTEGER PRIMARY KEY.
  • A DataGrid no longer edits or deletes the wrong row when WillMove cancels the move to the row the user clicked.
  • Overlapping IDE saves finish in order and apply to the project and revision that started them, so a newer edit stays unsaved and a late save no longer changes another project's path.

Changed

  • Built apps no longer load the IDE and AI settings code at startup, which roughly halves the JavaScript they load.
  • Faster Dir() on large folders, DataGrid cursor moves, Designer Select All on large forms, and native folder listings.
  • Native dependencies updated past published RustSec advisories (rusqlite 0.41 with SQLite from libsqlite3-sys 0.39, cookie, url, rustix). The Rust HTTP test mocks no longer pull in the unmaintained async-std.

Older versions

0.5.0 to 0.14.0

Version 0.14.0

2026-11-02

Added

  • A real Decimal type: CDec gives a Variant of subtype Decimal (14), a 96-bit integer with a scale of 0-28 as in VB6, instead of a Double that lost digits past about 15. Arithmetic with a Decimal stays Decimal, and comparison, Int/Fix/Abs/Sgn/Round, Str/CStr/Print, Format, FormatNumber, Write #, binary Put/Get and Dictionary keys keep all its digits.

Changed

  • VibeBasic is released under the MIT License.

Fixed

  • DatePart and Format honour firstdayofweek and firstweekofyear in week numbers (vbFirstFourDays, vbFirstFullWeek; days before week 1 count as the last week of the year before), and Format honours firstdayofweek for w.
  • AscW returns a signed Integer, like VB6 (AscW(ChrW(65535)) is -1).
  • Time$ and Date$ return VB6's fixed-format strings (hh:mm:ss and mm-dd-yyyy) instead of a Date.
  • CDate("3 PM") and IsDate("3pm") accept a time with AM/PM and no minutes. DateValue(Null) and TimeValue(Null) return Null instead of raising error 94.
  • Format uses the positive section when the negative or zero section is empty (Format(-5, "0;;zero") is "-5"), and keeps the sign of a negative number that rounds to zero (Format(-0.4, "0") is "-0").
  • A database's RecordsAffected is 0 after SQL that changes no rows, instead of the count of the last INSERT, UPDATE or DELETE.
  • Made macOS apps whose names have no Latin spelling get distinct bundle identifiers, so App.PrevInstance no longer mistakes one such app for another. A Make target ending in .APP no longer becomes Name.APP.app.

Version 0.13.1

2026-10-27

Fixed

  • Ask AI on an error raised before any statement of an event ran (an event procedure whose parameters do not match the event: "Argument not optional") no longer just ends the program: it ends, then asks the AI about the procedure.
  • Ask AI on an error brings the IDE window in front of the program's form windows and shows a dialog at once, so the request is never running unseen.

Version 0.13.0

2026-10-27

Added

  • New Project offers runnable Text Editor, Drawing and Serial presets.
  • The @ (Currency) type suffix on names and number literals.

Changed

  • Running programs draw faster on forms with many controls (the menu bar is no longer looked up per graphics operation), and loading many control-array elements in a loop no longer slows down quadratically.
  • The designer finds, selects and outlines controls without scanning the whole form per control; commands no longer clone every control, re-render the Project Explorer or re-read every code window.
  • Winsock and MSComm data reach the program at the pace the window can take; Inet answers travel as raw bytes, without a base64 copy.
  • The Ask AI stream log appends only new text, and the AI request id is reported once per request instead of once per streamed chunk.

Fixed

  • Saving no longer marks edits made while the file was being written as saved, and overlapping saves of one project no longer share a temp file (each is synced to disk before it replaces the file).
  • Open ... For Output refused with "Too many files" no longer empties the file first.
  • A Timer kept in a variable no longer keeps firing after its form is unloaded; an MMControl Open still loading when the form unloads or the program ends no longer leaks a timer and its media.
  • An MDI child is shown again by AutoShowChildren when it is loaded again after Unload. A newly loaded OptionButton array element starts unselected.
  • Closing a Winsock listener closes connections nobody accepted (after a short grace period, so Close: Accept requestID still works), and a listener keeps listening through transient accept errors. PortOpen = False stops an Output stuck on the device, so the port can be reopened at once.
  • Double arithmetic past its range raises Overflow (6) where it happens. Singles of 1E+07 or more print in 7-digit E notation. Format uses the Null section and understands ttttt and c. Val("&HFFFF&") is 65535.
  • Ask AI finds the JSON in a reply despite brackets in the surrounding prose, lowers the output budget to fit a smaller server context, keeps the code it sends within the context, and bounds and retries the picture-support probe.
  • Pasted controls follow a pasted ImageList or Data control that gets a new name. Decimal user-scale values can be typed in the Properties window. A case-only rename of a control-array member keeps its index. Cmd+Y redoes in the code window on a Mac.
  • Very large batches of drawing operations no longer overflow the stack. Disposing an Agent no longer silences other Agents.

Version 0.12.0

2026-10-26

Added

  • Ask AI now lets you choose selected code, the current procedure or the whole code file, with optional instructions to make a minimal change, preserve the layout or explain the changes.
  • Include a schematic of the current form from either the designer or its code window. Attach up to two PNG, JPEG or WebP reference images (5 MiB each), review their thumbnails and remove them before sending. Per-request choices keep the global AI preferences unchanged.
  • A larger request field, side-by-side image cards with enlarged previews, a compact context summary with expandable details, visible model/image support and an explicit Ask AI button. Keyboard shortcuts and small-window scrolling remain available.
  • Requested explanations appear separately in code and form proposal previews. Image omissions caused by model or server limits are disclosed before accepting a proposal.

Changed

  • Automatic repair keeps the better validated proposal: fewer syntax errors first, then fewer other problems. Ties retain the original answer, and Change continues from the proposal actually displayed.
  • Form requests ask for fixed fonts, colors and captions as design-time properties, so the designer and running form agree.

Fixed

  • An empty Ask AI request no longer discards attached images and scope choices.
  • Resizing WebP references preserves transparency instead of converting them to JPEG. Invalid and oversized attachments report errors without discarding the draft.
  • Unfenced VB responses are not duplicated in the explanation panel.
  • Closing an image preview restores keyboard focus even if a pending attachment rebuilt its original thumbnail. Context details can be opened with Enter without sending the request.
  • Omitted image warnings identify the correct attachment role even when reference and form pictures contain identical image data.

Version 0.11.2

2026-10-26

Changed

  • AI reasoning effort defaults to Medium, adds an explicit XHigh choice, and has an adjustable output budget (initially 65536 tokens shared by reasoning and final answer). Fast follow-up effort reduction is opt-in. The server's reported context size is preserved.
  • AI Log now contains metadata only: request IDs, model, effort, output cap, usage, HTTP status, finish reason and outcome. Prompts, images, reasoning, answers, tool arguments and raw server errors are excluded.

Fixed

  • Reasoning-only, empty, interrupted and tool-call responses cannot be shown or applied as successful final answers. Reasoning and text remain separate, including servers that return JSON instead of SSE.
  • Length termination explicitly identifies the output limit and never retries automatically, even if a timeout or stream error follows. Budget errors never trigger an uncapped retry; other recovery paths have a shared four-attempt ceiling.
  • HTTP errors, timeouts, cancellation, incomplete streams and refused connections remain distinct. Removed misleading Ollama advice from generic connection failures.
  • Added native/browser parity tests for text, reasoning, tools, structured JSON, metadata, usage, completion status and privacy.

Version 0.11.1

2026-10-26

Added

  • AI server discovery over Tailscale: Search LAN > Include Tailscale peers reads the local client's known online IPv4 devices and lets you choose which to check. Only listed peer addresses are probed; the Tailscale address range is never swept. Peer connections have longer timeouts for relayed links, and Tailscale URLs remain available in Recent.
  • A bounded, read-only Tailscale CLI lookup on macOS, Windows and Linux, including the bundled macOS client. Missing, disconnected or unresponsive clients show a useful message while keeping LAN discovery available.
  • Includes the LAN discovery feature below (networks/ports, results, Use, cancellation, key opt-in and remembered servers). Version 0.11.0 was superseded before its downloads were published.

Version 0.11.0

2026-10-26

Added

  • Search LAN in Tools > Options > AI finds Ollama, LM Studio, vLLM and other OpenAI-compatible servers, as in VisualVibe. Review the local networks and ports, then press Start; results show the URL, server kind, models and response time. Use fills the AI server and model fields.
  • Search only this computer or selected private IPv4 networks, capped to /24 and 1,024 hosts. Ports are editable (defaults: 11434, 1234, 8000 and 8080); link-local networks are optional. Stop, Close and Escape cancel pending connections and requests. API keys are sent during discovery only when explicitly selected.
  • Discovery remembers the port list and the last five selected servers. It is available in the desktop app on macOS, Windows and Linux; the browser preview explains its desktop-only availability.

Version 0.10.3

2026-10-26

Fixed

  • About lists macOS, Windows and Linux as supported systems, and shows the system this copy is running on separately.
  • The DoEvents performance test allows for shared CI runners while still checking that timers fire and the loop finishes promptly.

Changed

  • The README has a current AI Wizard screenshot, explains the New and Recent project chooser, and covers the wizard's setup and creation flow.
  • Includes the wizard and recent-project fixes below; 0.10.2 was superseded before its downloads were published.

Version 0.10.2

2026-10-26

Fixed

  • The AI Wizard is available directly under Tools, even when the startup project chooser is disabled. It opens before AI setup; after saving the server settings, creation continues with the request you wrote.
  • Selecting "(none)" in the wizard's examples no longer replaces your description with the tip calculator example.
  • Recent projects opened while settings load are kept, removed entries stay removed, and slow settings writes cannot overwrite newer history. Changes made during startup are saved together.

Changed

  • GitHub is the source of truth for releases: all downloads come from the tagged source built and tested by GitHub Actions, including macOS. Release builds run both TypeScript and Rust tests before publishing.

Added

  • The New Project dialog, as in VB6: when VibeBasic starts it offers New (Standard EXE, MDI Application, Sub Main, Data Project and an AI Wizard that has the AI build the form from your description), Existing (open a .vbb or .vbp) and Recent. File > New Project shows the New tab. "Don't show this dialog in the future" turns it off; Tools > Options > General, Prompt for project at startup, turns it on again.
  • The projects you open or save last: the Recent tab, and the last four at the end of the File menu.
  • The AI Wizard has its own dialog: start from an example or describe the program yourself; choose the look (colours, the language of its texts, the form size); tick improvements (clear names, Enter and Esc keys, input checks, a menu bar, a status line, error handling, remembered settings, a resizable layout, asking before closing); and set how much with sliders (features, help for the user, code comments). The request the AI gets is shown as you go, and Copy puts it on the clipboard. The choices are kept for the next time.
  • A splash window when VibeBasic starts, in the spirit of the VB6 one: it shows while the IDE loads (about two seconds), then the IDE comes up. The version on it comes from the app. Programs made with Make have none.

Version 0.10.1

2026-10-24

A bug hunt in the AI assistant, measured against a real local model (Qwen 27B on vLLM). Tasks solved at Thinking Low rose from 82% to 96%: form layouts from 64% to 91%, Ask AI on run-time errors from 80% to 100%.

Changed

  • The Ask AI waiting window can be made bigger with the grip in its lower right corner; the box with the thinking and the answer grows with it. It keeps its place and size for the next request (until VibeBasic is closed).
  • Every dialog can be moved by its title bar, as in Windows 98.

Fixed

  • AI code merges never break your code: declarations no longer land inside a Type, Enum or #If block or in the middle of a continued line, multi-line procedure headers and Attribute lines are kept, End Sub is not doubled, a changed Dim replaces the old one, and #If blocks stay whole. A merge that would add syntax errors is refused and explained instead of applied.
  • Thinking High failed on servers that only take low, medium and xhigh. A rejected level is now retried with the nearest one the server accepts, and Test Connection shows the levels the server takes (and picks Low for a new setup).
  • Form mode no longer drops values silently: a value it cannot use goes back to the model with the valid ones (StartUpPosition, SSTab tabs, Boolean values, form-level changes), and clear intent is accepted as is.
  • Syntax complaints quote the statement and show the expected form (Scale, Line, Circle, PSet, ListItems.Add). Code that still has syntax errors after the retry is marked in red and Cancel is the default.
  • Ask AI on a run-time error now sees the values on the failing line and is told to handle them, not to hide the error.
  • There was a gap of up to 3 seconds between the prompt and the waiting dialog in which you could start the program or a second Ask AI; a "Connecting..." dialog now covers it, and only one AI request runs at a time.
  • The code check knows ListItem, ADODB.Recordset and ADODB.Connection members, read-only properties (WindowList, MDIChild) and Implements methods; the MDI event-name fix renames to MDIForm_.
  • Placement and the layout check follow docked containers (a docked PictureBox on an MDI form).
  • Small overflows (up to 240 twips) grow the form instead of costing another round; truncated answers are rejected.
  • The preview diff uses bounded memory on big modules. The AI Log no longer shows a user name and password from the server address. Error texts say "this computer" on Windows and Linux.
  • Windows: a running program's form could not be moved by its title bar. Windows resizes a new window to its scaled size, which rebuilt the title bar without its drag mark; the title bar now carries it each time it is built.
  • Windows: F5, Ctrl+R and Shift+F5 in a running program reloaded its window, which went blank (WebView2's browser shortcuts). Those keys, and Ctrl+P, Ctrl+F, Ctrl+G, F3, F7 and Alt+Left/Right, no longer reach the browser in any window. The program still gets KeyDown for them, and F5 in the IDE still runs.
  • Windows: a double click on a DirListBox folder did nothing, and so did DblClick on a TreeView or ListView. WebView2 fires no dblclick when the first click repainted the list.
  • Windows: characters typed with AltGr (Norwegian @ £ $ { [ ] } €) raised no KeyPress, got past a MaskedEdit's mask, and did not start an edit in a DataGrid or the Properties window.
  • DriveListBox.Drive read in Form_Load was "/" on Windows; the drives had not come yet. Reads now wait for them. DriveListBox also has List, ListCount and ListIndex, as in VB6.
  • Kill of a read-only file deleted it on Windows; it is error 75, as in VB6. FileSystemObject.DeleteFile and File.Delete honour Force.
  • Name "a.txt" As "A.TXT" (a new case only) was error 58 on Windows and macOS.
  • GetAttr on Windows reports vbSystem and vbArchive, so it matches SetAttr. Dir(..., vbDirectory) leaves out hidden folders ($Recycle.Bin, System Volume Information) unless vbHidden is given; on Windows a folder named ".git" is not hidden.
  • CurDir("D") gave the current drive's folder instead of drive D's.
  • Make on Windows turns a device name (CON, NUL, COM1...) into "CON_", which Explorer can open and delete.

Added

  • tests-live/: a live evaluation of the AI assistant against an OpenAI-compatible server (33 tasks, behaviour checks in the real run time), with a report.

Version 0.10.0

2026-10-24

Added

  • Windows and Linux support. VibeBasic runs on Windows 10/11 (WebView2) and Linux (WebKitGTK 4.1) as well as macOS. - Windows: real drive letters and backslash paths as in VB6, DriveListBox with "c: [label]", ChDrive, COM ports for MSComm (CommPort 3 is COM3), the Windows printer list, power status for SysInfo, and Ctrl as Ctrl. - Linux: /dev/ttyUSB* and /dev/ttyACM* serial ports, CUPS printers, battery status from /sys, and mounted drives under /media and /mnt.
  • Make app on Windows produces a single <Name>.exe with the project inside, the project icon and the version information (Properties > Details). On Linux it produces an executable plus a .desktop launcher and icon.
  • Downloads for every platform are built by GitHub Actions on each release: a Windows installer and portable zip, a Linux .deb and AppImage, and a macOS zip. Every push is tested on macOS, Windows and Linux.

Changed

  • The clipboard uses a cross-platform library off macOS; macOS behaves as before.

Version 0.9.0

2026-10-24

Added

  • Menus: the Menu Editor (Tools > Menu Editor, Ctrl+E), a Win98 menu bar in every form (designer and run time) with submenus, checkmarks, separators, shortcuts and Alt/F10 keyboard, menu control arrays (Load/Unload), and PopupMenu.
  • Graphics on forms and PictureBoxes: Print, Cls, PSet, Line (B/BF, Step), Circle (arcs, pies, ellipses), Point, PaintPicture, TextWidth/TextHeight, CurrentX/Y, DrawWidth/DrawStyle/DrawMode, FillStyle/FillColor, FontTransparent, AutoRedraw with Image, the Paint event, ScaleMode/ScaleLeft/ScaleTop/ScaleWidth/ScaleHeight, Scale, ScaleX/ScaleY and SavePicture.
  • Class modules: Property Get/Let/Set, New, Class_Initialize/Terminate, Event/RaiseEvent/WithEvents, Implements, Friend, default members and For Each (NewEnum).
  • The Locals, Watch and Call Stack windows, Add/Edit/Quick Watch with break conditions, data tips in break mode, and Set/Show Next Statement.
  • The Printer object and Printers collection (NewPage, EndDoc, KillDoc, Orientation, A4/Letter), a print preview with the macOS print dialog, Form.PrintForm and CommonDialog.ShowPrinter.
  • Opening VB6 projects (.vbp, .frm, .frx, .bas, .cls) with an import report, and Project > Add File (Ctrl+D).
  • Language: TypeOf…Is, named arguments (x:=1), Option Base and Option Compare, GoSub/Return, On…GoTo/GoSub, Global, #If/#Const, the financial functions (Pmt, FV, NPV, IRR, Rate, …), byte functions (LenB, LeftB, …), Partition and Debug.Assert.
  • MousePointer and MouseIcon on forms and controls, Screen.MousePointer, the Validate event with CausesValidation, and Alt+letter accelerators.
  • Sub Main as startup, Command$ and Environ, version information, file types and command-line arguments in Project Properties; made apps get their version, copyright and file associations; App.PrevInstance and App.LogEvent.
  • MDI forms with child windows, Arrange, the WindowList menu, merged menus, and several instances of a form with New.
  • Drag and drop: DragMode/DragDrop/DragOver, OLE drag and drop with DataObject, and files dropped from Finder.
  • ADO in code (New ADODB.Connection/Recordset/Command, transactions, Filter, Sort), CreateObject, Scripting.Dictionary and Scripting.FileSystemObject.
  • RichTextBox TextRTF/SelRTF, LoadFile/SaveFile, Find and paragraph formats; CommonDialog Flags (multiselect, DefaultExt, colour init).

Fixed

  • A thorough review of all of the above fixed 48 more issues, among them: objects in Collections and arrays are released, each ADO Connection has its own transaction, data tips never run code, crafted pictures in .frx files cannot hang an import, controls follow their container's ScaleMode, docked PictureBoxes know their size, Font* properties work everywhere, menu shortcuts follow the typed letter, and New form instances are freed after Unload.

Version 0.8.3

2026-10-23

Fixed

  • An Ask AI answer that loops could loop again on the retry, in the same place ("The AI got stuck repeating itself" every time). The retry after a loop now goes without the form picture and without the structured output (the JSON grammar); the layout map and the nudge are still sent.
  • Dropdown arrows in dialogs (Tools > Options > AI: Model, Thinking, Send form picture) did nothing; only a click on the text opened the list. The row around the box is a label, which passed the arrow's click on to the text box, and that second click closed the list again.

Version 0.8.2

2026-10-23

Added

  • A new app icon: a classic VB form window on a glossy rounded tile.

Fixed

  • Ask AI answers that repeat themselves forever (seen in form mode with the form picture: the same {"op":"form",...} over and over until Cancel or the token cap). The streamed answer and the thinking are watched for one block repeated at the end; such a request is stopped at once, shown as "loop" in the AI Log, and tried once more with a short reminder and a mild presence_penalty (0.3, on vLLM and OpenAI-style servers; dropped if the server refuses it). No frequency_penalty: on a thinking model it turned the retry into word salad. If the retry loops too, "The AI got stuck repeating itself" is shown and nothing is applied.
  • Form mode drops exact duplicate ops (the first one counts), and the structured output schema allows at most 300 ops.

Version 0.8.1

2026-10-23

Fixed

  • Large form requests (a whole program with its code) were cut off at 12,288 tokens and failed with "The AI answer was cut off". The answer room is now 16,384 tokens, or 32,768 when the server reports a large context, plus the thinking room.

Version 0.8.0

2026-10-23

Added

  • File I/O in the language: Open, Close, Print #, Write #, Input #, Line Input, Get/Put, Seek, EOF, LOF, Loc, FreeFile, Dir, Kill, Name, MkDir, RmDir, ChDir, FileCopy, FileLen, FileDateTime, GetAttr/SetAttr, CurDir, with VB6 error numbers. SaveSetting, GetSetting, DeleteSetting and GetAllSettings.
  • Databases on SQLite: the Data control and ADO Data Control, Recordset (navigation, AddNew/Edit/Update/Delete, Find, rs!Field), data binding (DataSource/DataField), DataGrid, DataList and DataCombo.
  • Sheridan 3D controls: SSPanel (with flood bar), SSCommand, SSCheck, SSOption, SSFrame and SSRibbon.
  • MSComm (serial port) and SysInfo.
  • Animation, ImageCombo, CoolBar, FlatScrollBar and Calendar (MSCAL).
  • Code window: folding with an outlining margin (Edit > Outlining, Ctrl+M chords), a Visual Studio colour palette (or Classic VB6) and font size under Tools > Options > Editor Format, indentation guides, procedure separators, matching block keywords, highlighted identifiers, and automatic End lines on Enter.
  • The AI sees the form: a picture of the form for vision models, a layout check (overlaps, out of bounds, cut captions, alignment) and relative placement (below, right of, arrange as row/column/grid, autosize). An ASCII layout map for servers without vision.
  • Ask AI answers questions in plain text (Ask more...), Tools > AI Log shows every exchange, and transient network errors are retried once.
  • Language: IsMissing, Mid/LSet/RSet statements, FormatNumber/FormatCurrency/FormatPercent, Filter, CDec, IsError, CVErr, the Error statement and Erl, New Collection, typed array returns, ParamArray, Single as its own type, StrConv, Beep.

Changed

  • The AI code check also catches wrong event signatures, calls to missing procedures, wrong argument counts and duplicate procedures.
  • Form mode uses structured output (vLLM structured_outputs, else response_format, with automatic fallback); follow-up rounds can use low thinking for speed; answers have a token cap.
  • The AI settings and API key live in a private file on the Rust side, out of reach of the program's form windows.
  • Builds read the signing identity from a local .env.local (npm run build:app).

Fixed

  • Integer overflow (error 6), parenthesised arguments passed by value, CDate/CDbl/IsNumeric formats, Input #/Write # round trips and other VB6 differences.
  • Lost work in the IDE: undo of Add Module/Form, the multi-line Properties editor, values typed before Exit/New/Open. Modules can be renamed; paste into containers; breakpoints follow deleted lines; TabIndex and pictures.
  • Run time: programs end when their forms are closed, TextBox selection, ADO blank records, MultiSelect lists, ItemData, CRLF in multi-line text, KeyPress for Escape/Ctrl, Activate/Deactivate, Cmd+Q in made apps.
  • Robustness: FileCopy onto itself, runaway queries, blocking file work, size caps, leaked handles, Winsock sends, the settings store.

Version 0.7.5

2026-10-23

Changed

  • The AI knows the language: a compact reference card, generated from VibeBasic's own built-in functions, statements and constants, is part of the fixed system prompt.
  • The AI knows the project: public procedures, variables and other forms' controls are sent with each request, so it can call your own code.
  • The size limit for code sent to the AI follows the server's real context (read from the model list on Test Connection); servers that do not report it keep the 400-line rule.
  • With code selected in the code window, Ask AI works on the selection, and a body-only answer replaces just the selection.

Version 0.7.0

2026-10-23

Added

  • Project > Components (Ctrl+T): pick ActiveX components like in VB6; new projects show only the intrinsic controls.
  • New components: SSTab, ImageList, Toolbar, DTPicker, MonthView, MaskedEdit, WebBrowser, Inet, Winsock (TCP/UDP), MSChart, MMControl, MediaPlayer and Agent (original Robby and Wizard characters). TreeView, ListView and TabStrip show ImageList pictures.
  • Debug menu: breakpoints (F9), Step Into (F8), Step Over, Step Out, Run To Cursor and Clear All Breakpoints.
  • Properties window: working dropdowns everywhere, VB6 colour Palette/System picker, multi-line list editor, double-click cycles values, object box, Categorized tab, description pane and keyboard navigation.
  • Toolbar: Add Form, Add Module, Find and Immediate buttons, and VB6 position/size readouts.
  • Language: Controls, Forms, Clipboard, Screen.ActiveForm/ActiveControl, and Load/Unload of control array elements.
  • Ask AI on errors: the run-time and compile error dialogs have an Ask AI button (also Tools > Ask AI about this error in break mode). The AI gets the error, the line, the code and the variable values, and proposes a fix in the preview; OK ends the program and applies the fix as one undo step. Made apps never show the button.
  • Change... in the AI previews continues the conversation with a new wish; nothing is applied before OK.
  • A 1998-style animation in the AI waiting dialog (thinking and writing).
  • The AI waiting dialog and preview show prompt tokens (cached) and the time taken.

Changed

  • A fixed AI system prompt with short VB6 examples, so the server can reuse its prefix cache; large modules send only the relevant procedures in full.
  • Cut, Copy, Paste, Delete and Select All work in the code window from the menu and the toolbar; buttons are only enabled when they can act.
  • A break moves the focus to the code window; stepping through For loops stops on Next as in VB6.
  • Large controls placed by a Toolbox double-click shrink to fit the form.
  • Smarter AI code check: unknown properties and methods (with a suggestion), unknown names, undeclared variables under Option Explicit and statements VibeBasic does not support; form mode retries once on invalid JSON.

Fixed

  • Properties dropdown lists were clipped and invisible.
  • A typed but uncommitted Properties value is kept on Run and Save.
  • DirListBox lists symlinked folders and gives error 76 for a missing folder; CommonDialog keeps "All files".

Security

  • Form windows can no longer call the app's commands, and a Content Security Policy keeps WebBrowser pages away from the app.

Version 0.5.0

Added

  • VB6-dialect language core with break mode and the Immediate window.
  • Win98-style IDE: form designer, Properties, code window, IntelliSense, Project Explorer and file operations.
  • F5 runs the project in real windows with MsgBox, InputBox and a runtime error dialog.
  • Make app: build a standalone .app.
  • AI assistant (OpenAI-compatible, Ollama/vLLM) with code and form modes, preview and one-step undo.