Questions tagged [twinbasic]

twinBASIC is a modern version of the classic BASIC programming language. twinBASIC aims for 100% backwards compatibility with existing VB6 and VBA projects. twinBASIC is a superset of VBA and VB6. If your question is about migrating from another language, also use the appropriate tag: [vba], [vbscript], or [vb6-migration]. If your question is about navigating the development environment, include the [visual-studio-code] tag.

twinBASIC is a modern version of the classic BASIC programming language. twinBASIC aims for 100% backwards compatibility with existing VB6 and VBA projects.

The goal is to offer a complete replacement development environment for classic BASIC projects whilst also bringing many new features and improvements over the old VB6 IDE and compiler.

The first preview version of twinBASIC released to the public on 9th April 2021.

The twinBASIC project is still in preview.

IDE

twinBASIC IDE support is provided via an extension to the amazing open source project, VS Code. This first version of twinBASIC will not offer any GUI (form) elements.

Project Roadmap

The following key areas will be developed over the coming weeks and months:

  • Forms / GUI support, including full backwards compatibility with existing VB6 forms.
  • Native compilation.
  • Cross-platform compilation.

Related Tags:

Reporting Bugs

Report all bugs and feature requests to the twinBASIC Issue Tracking Project on GitHub.

The GitHub project page is used only for tracking bug reports and feature requests. twinBASIC is not an open-source project.

Official Resources:

References:

As the goal of this project is 100% backwards-compatibility with VBA and VB6, any documentation that applies to those two languages should also apply to twinBASIC. Any discovered incompatibilities should be reported to the Issue Tracking Project.

Additional Reading:

General twinBASIC Information and History:

4 questions
4
votes
0 answers

How to create the ITypeInfo interface in twinBASIC

I'm trying to write up ITypeInfo in tB. Interface ITypeInfo Extends IUnknown 'HRESULT GetTypeAttr([out] TYPEATTR **ppTypeAttr ) Sub GetTypeAttr(ByRef outpTypeAttr As LongPtr) Sub GetTypeComp() Sub GetFuncDesc() Sub…
Greedo
  • 4,967
  • 2
  • 30
  • 78
2
votes
0 answers

Getting Windows Ribbon UI Framework RecentItems Pinned changes

So I've set up a RecentItems list with I can set the initial pinned status, I…
Jon
  • 21
  • 3
1
vote
0 answers

DefaultDict in twinBASIC crashes compiler

I'm trying to make a defaultdict in twinBASIC - this is one where if a key does not exist in a dictionary then it is populated by a default value according to some type. This is what I've tried: Private Class DefaultDict(Of T) Implements…
Greedo
  • 4,967
  • 2
  • 30
  • 78
0
votes
1 answer

Which classes/algorithms in System.Security.Cryptography are identical to those in the unmanaged CryptoAPI?

For a VB.NET-based VSTO add-in we need to plan for a future port to TwinBasic which is based on unmanaged COM architecture. Especially for encrypted data we need to make sure we use an encryption algorithm that is identical whether the code is…