Alright, heres the deal. I learned how to program Basic on an Apple IIe computer, then I learned to migrate it into the newer computers as they came along. I haven't programmed for a while and Windows XP doesn't exactly have QBasic on it. That's what it was called the last time I used it. Now I hear people talking about Visual Basic. Already had someone give me an idea, but it sounds like Microsoft Access. I use that program a lot for data bases. So, is this new Visual Basic thing the same as QBasic? Can I still write my programs the same way and with the same language usage or is it like creating an interactive webpage? I'm getting tripped up on the basic fundamental on what it is suppossed to do.

I appreciate the info... Just trying to find a starting point. i learn really fast.

~IYAOYAS~

Dani AI

Generated

A short, practical companion for an old‑school QBasic programmer looking at Visual Basic and Access (references: , , , ).

Three realistic ways forward, depending on goals:

  • Keep writing QBasic‑style programs: use a QB‑compatible compiler/interpreter that runs on modern Windows. This preserves the original flow and syntax so little or no rewriting is required.
  • Stay in the Access world: use VBA (the language inside Access) for form/report driven database apps. VBA feels familiar but runs inside Access and is best for data‑centric utilities.
  • Move to Visual Basic under Visual Studio (for Windows apps): expect a different model (IDE + designer, event‑driven UI, modules/classes and stricter compile‑time checks). Porting will usually mean rethinking structure rather than a line‑by‑line copy.

Small example showing the surface differences (QBasic style vs a modern VB console):

' QBasic-ish
PRINT "Enter your name:"
INPUT name$
PRINT "Hello "; name$
' VB.NET console
Module Program
    Sub Main()
        Console.Write("Enter your name: ")
        Dim name As String = Console.ReadLine()
        Console.WriteLine("Hello " & name)
    End Sub
End Module

Practical checklist for a clean migration:

  • Break long, linear code into Subs/Functions or classes.
  • Remove GOTOs; use loops and structured control.
  • Declare variable types explicitly and enable strict checking in the IDE to catch bugs early.
  • Use the Form designer for UI work; avoid trying to "print to screen" like old console apps unless a console app is intended.
  • For Access solutions, keep business logic in modular VBA where possible; consider moving to VB/.NET + a real RDBMS when scale or multi‑user access becomes important.

started the right conversation; and ’s exchange about typing points toward the practical step of enabling explicit/strict declarations early in learning the newer tools.

Recommended Answers

All 3 Replies

Well, if your an old school QB programmer, you are in for a big suprise. The latest version of Visual Basic, Microsoft Visual Basic .NET 2003, its fully object oriented and strong typed.

If you get a beginers book, you'll be flying in no time ;-).

its fully object oriented and strong typed.

What do you mean strong-typed ?

What do you mean strong-typed ?

That you have to declare the data types of variables before assigning them or using them.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.