Home
Softono
AvaloniaVisualBasic6

AvaloniaVisualBasic6

Open source MIT C#
1.6K
Stars
101
Forks
12
Issues
21
Watchers
1 year
Last Commit

About AvaloniaVisualBasic6

Avalonia Visual Basic 6 is a recreation of the classic Visual Basic 6 IDE and language written in C with the Avalonia UI framework. It includes a visual designer for creating VB6‑style applications, lets users save and load projects in a VB6‑compatible format, and can run the programs. The language support provides a limited subset of VB6 syntax. The project is intended for hobbyist or educational use, such as learning or nostalgia, and can be built and published as a desktop application using .NET 9. It requires .NET 9 to build and publish, and publishing involves generating both the IDE and a standalone runtime.

Platforms

Web Self-hosted Windows

Languages

C#

Avalonia Visual Basic 6

A recreation of the classic Visual Basic 6 IDE and language in C# using Avalonia.

This is a fun, toy project with no commercial intent. All rights to the Visual Basic name, icons, and graphics belong to Microsoft Corporation.

>> Open the web version in your browser! <<

Features

  • Visual Designer
  • Save and load projects in VB6-compatible format
  • Run projects
  • VB6 language support (limited)

Avalonia Visual Basic

Building the Desktop Version

You'll generally need .NET 9.0, though you can modify Directory.Build.props to use .NET 8.0 if preferred (version 9.0 is required for the browser version).

To build, simply run:

dotnet build AvaloniaVisualBasic.Desktop/AvaloniaVisualBasic.Desktop.csproj

If you encounter Antlr4 errors, this likely means the Antlr4BuildTasks library couldn't automatically download Java. Installing Java manually should resolve the issue.

Publishing the Desktop Version and Making Make Publish Work

Publish both IDE project (AvaloniaVisualBasic.Desktop) and runtime (AvaloniaVisualBasic.Standalone):

dotnet publish AvaloniaVisualBasic.Desktop -f net9.0 -o bin/
dotnet publish AvaloniaVisualBasic.Standalone -f net9.0 -o bin/standalone/

Now you can run ./bin/AvaloniaVisualBasic.Desktop.

Thanks to