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

  • SEARCH
  • Home
  • 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 4245884
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T03:53:58+00:00 2026-05-21T03:53:58+00:00

We have a legacy VB6 application which has worked just fine on Windows XP

  • 0

We have a legacy VB6 application which has worked just fine on Windows XP Professional SP 3 until just recently when we added an IE frame control so that we could display static local HTML files on a form. And, it works fine until I go to close the application. And, then it reports the following error message (consistently):

Faulting module ntdll.dll, version 5.1.2600.5755, stamp 49901d48

Here’s the reference in the Visual Basic project file:

Object={EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B}#1.1#0; ieframe.dll

And we use it by performing the following actions:

  1. Development machine is running Win7 + Vb6 IDE.
  2. Add a component reference to the “Microsoft Internet Controls” located at C:\Windows\SysWow64\ieframe.dll
  3. Place a control on the form at design time.
  4. Show that form modally by calling
    Form.Show vbModal

    The error happens when I use the default form instance

    frmMyForm.Show vbModal

    as well as when I use a local instance

    Dim MyForm as New frmMyForm
    MyForm.Show vbModal
  5. Call WebBrowser.Navigate “staticPage.html”
  6. When the user presses a button, the button click event returns the user choice and the form is disposed of.
  7. Exit the application — Here’s where I get the error.

I’ve been looking all over the web, and haven’t been able to find a whole lot of people still trying to use VB6 in this way. So, I’m wondering if someone might be able to help me on stackoverflow. Any help is much appreciated!

[Update] And, the plot thickens. I made a sample application with just that web component in order to make sure that it was causing the error. But, I didn’t experience the error when it closed like I was when exiting our existing/legacy vb6 application. I’ll do a bit more investigating.

  • 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-21T03:53:59+00:00Added an answer on May 21, 2026 at 3:53 am

    A follow up to this in case any runs into the same issue (the original poster and I were coworkers at the time)…

    The application was using the VBCorLib library, and some of its string manipulation classes utilized direct memory access incorrectly. Read more at this VBCorLib forum post.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a legacy VB6 application that was built using MSDE. As many client's
I have a directory full of legacy code from a VB6 application. I have
I have a rather legacy application EXE written in VB6 and running on a
I have a legacy VB6 program which installs an Access file in a sub-directory
We have a legacy VB6 application that uses Crystal Reports XI to generate printed
I have some legacy VB6, which I am hosting inside an ActiveX control, which
I have a legacy vb6 application that needs to run on a server 2008
We have a legacy VB6 application that updates itself on startup by pulling down
I have a legacy ASP.NET application in which there are some session/concurrency related issues
I have a legacy ASP application which - at some point soon - needs

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.