Windows update causes VB6 app to fail when fetching data from Microsoft Access

Rich Goldberg 166 Reputation points
2025-09-16T20:20:47.7233333+00:00

I've got a VB6 program that I wrote years ago and continue to (enhance and) run today to help various local non-profits with projects. I started converting it to VB.Net a while ago, but it's still not complete. Six months ago the program suddenly got an error trying to fetch data from its Access database. I tried everything I could to determine the cause of the error, but ultimately decided my disk drive was corrupted, so I restored from a backup and was back in business. The other day I noticed that several Windows updates were available, so I applied them. The problem suddenly reappeared, and then I remembered that it was a Windows update that had occurred the first time as well.

Clearly the update broke the connection from VB6 to Access. What I need to know is whether Microsoft intends to continue supporting the VB6-Access connection (and would consider fixing this bug) or simply no longer cares about VB6. If the latter, I'll pull out an old laptop, run the app on that, and never apply Windows updates. Otherwise, please tell me how to report the problem to Microsoft for correction.

Developer technologies | .NET | .NET Runtime
{count} votes

3 answers

Sort by: Most helpful
  1. Michael Taylor 61,036 Reputation points
    2025-09-16T21:28:33.8033333+00:00

    VB6 runtime is still supported but is not getting any fixes. VB6, like most other apps, is simply using COM to interop with Office if using the app directly or via ODBC for data connections. COM/ODBC hasn't changed either nor will it. As such you aren't going to be able to submit anything to MS and get them to fix it.

    In most cases the issue tends to evolve around a security-related change that needs to be adjusted. But without seeing the code that is failing and what error you're getting it is hard to say. It may be an issue with the ODBC driver for Access if you're using that or the COM configuration if using COM. Another problem that can occur is if you have Office x64 installed because VB6 is going to require the x86 version of the Access runtime, which Office x64 doesn't have.

    Please post the code that is failing along with any error message you're getting so we can investigate further.

    2 people found this answer helpful.
    0 comments No comments

  2. Rich Goldberg 166 Reputation points
    2025-09-16T23:03:32.7633333+00:00

    I apologize - I don't see a way to respond to a particular response.

    To Michael Taylor: When the problem occurred six months ago, it was immediately following a Windows update. I assumed that something had caused corruption, so I restored my drive from a previous backup and all worked fine. Now it happened again immediately after an update.

    1 person found this answer helpful.

  3. Bruce (SqlWork.com) 81,191 Reputation points Volunteer Moderator
    2025-09-16T21:33:32.9+00:00

    its more likely the access driver is having issues. you should check for an update.


Your answer

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