Are there any products (paid or otherwise) that can be used to convert Microsoft Quickbasic into .net or .net core projects?

MB 0 Reputation points
2025-05-21T16:15:46.5966667+00:00

I've tried the simplest route of adding the .bas files as modules to a vb6 project and then planned to take the resulting vb project and converting it to .net, but unfortunately QuickBasic doesn't seem to want to work in that environment. I'm trying to avoid having to rewrite quite a few ancient projects, which wouldn't be onerous, but would be time consuming. I'm perfectly happy to pay for such a product or even a few stitched together if it could be used consistently. Does anyone have any suggestions?

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,265 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Bruce (SqlWork.com) 77,631 Reputation points Volunteer Moderator
    2025-05-21T16:58:38.56+00:00

    there is really nothing for qbasic conversion. the code is straight forward, but msdos and screen commands have no equivalent in vb6 or vb.net. so if your basic app has a UI you will need to redesign anyway.

    to convert vb6 to vb.net require visual studio 2008, as vb6 support was dropped long ago.

    I'd probably skip vb6 and convert to vb.net directly. you might do well with an AI tool to convert chucks of code.

    to run qbasic on a modern computer you need virtual machine running msdos or msdos emulator.

    sample:

    https://dosbox-x.com

    also there are many msdos box emulators that your browser can host.

    https://www.pcjs.org/software/pcx86/sys/dos/microsoft/6.22/

    0 comments No comments

  2. MB 0 Reputation points
    2025-05-21T17:26:11.9766667+00:00

    Yeah we're not interested in a method to host the code we have, we can already do that. None of these had interfaces or UIs of any kind, they were simply running calculations on text files as data and outputting a result.

    I appreciate the thought though. We're really just looking for a path to get these up to something more recent for the ability to maintain them, without rewriting them.


  3. RLWA32 49,311 Reputation points
    2025-05-21T17:54:57.21+00:00

    Maybe something like the software from https://qb64.com/ would meet your needs.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.