Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 379627
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T14:54:36+00:00 2026-05-12T14:54:36+00:00

VB6 had a reputation for being too forgiving (and thereby allowing bad practices) and

  • 0

VB6 had a reputation for being too forgiving (and thereby allowing bad practices) and hiding complexities that perhaps developers would be better off needing to know. But I found that, say, 90% of applications could be done in VB6.

But I’d like to see more examples of pushing-the-envelope to work round VB6’s limitations. For example, I once found some code for using pointers in VB6 by making calls to the Windows OS. The result was that some string manipulation on largish documents (about 2MB) was brought down from 30 minutes to just over 3 seconds. Does anyone have other examples of going past the limits of VB6?

N.B. not VB.Net.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T14:54:36+00:00Added an answer on May 12, 2026 at 2:54 pm

    Joel said some good stuff about VB6 back in 2001.

    Many VB6 programs are spaghetti,
    either because they’re done as quick
    and dirty one-offs, or because they’re
    written by hack programmers without
    training in object oriented
    programming, or even structured
    programming.

    What I wondered was, what happens if
    you take top-notch C++ programmers who
    dream in pointers, and let them code
    in VB6. What I discovered at Fog Creek
    was that they become super-efficient
    coding machines. The code looks pretty
    good, it’s object-oriented and robust,
    but you don’t waste time using tools
    that are at a level lower than you
    need. I’ve spent years writing code
    for C++/MFC and years writing code in
    Visual Basic, and let me tell you, VB6
    is just much, much more productive…

    One of the things about Visual Basic 6
    is that it doesn’t always give you
    access to the full repertoire of
    Windows goodies that you need to make
    a polished application. But what it
    does do, better than almost any other
    programming environment, is let you
    drop into C++ code (or call C APIs)
    when you’re desperate or when you need
    that extra speed.

    That was written in 2001: when creating a new Windows program today, IMHO the obvious choice for best productivity is VB.Net or C#. (JOKE: C# is just Visual Basic with semicolons.)

    Getting back to VB6: there are many good examples of how to call C APIs to do something special or just to run faster. Here’s some of my favourite links:

    • Karl E Peterson’s One Stop VB Shop – his StringBuilder sounds like your example, although it doesn’t use API calls
    • Steve McMahon’s VBAccelerator
    • And I give +10 for OneDayWhen for listing Matthew Curland’s Advanced Visual Basic 6. Probably pushed the envelope further than anyone (and didn’t quite burst it).
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

VB6 had a DoEvents() method that you called to return control to the OS
One of the things I loved about VB6 is that you had the ability
I can no longer find the CD that had the MSDN help for VB6,
I'm a non-VB6 person who had the misfortune of inheriting a buggy legacy VB6/Classic
I have a VB6 app that loads initially (for a small prompt to enter
We've got a VB6 application that reads a simple text file with a .LIC
I'm coming from VB6. There I had a main form with a menu. The
So, I haven't had any luck finding any articles or forum posts that have
We have a program written in VB6 that in the past connected to Oracle
I have a VB6 application that uses a COM DLL. The DLL is written

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.