Potential Problem with VB6 User Control

Posted on 2009-04-27
Last Modified: 2013-12-26
I have recently created my first User Control for VB6 SP5.  The program it is being used in has a variable used in Form Load that sets the version of the software (disabled certain buttons, etc.).  After creating and implementing this User Control I have run into a strange issue.  Sometimes when I am working on this program, I will exit, change the variable (thus changing the version) and when I run it again the change has not taken place.  I exit and put a break on the first line of code in Form Load and it doesnt break on it.  Closing VB6 and reopening it solves the issue.  This has never happened (to my knowledge) before adding this user control.  Is there something I need to do to properly terminate it that I may have missed that could be causing this?  Or could this be just a problem with VB6?  It doesnt happen all the time but enough to be annoying.
Question by:4county

    Author Comment

    Slow day for the experts?
    LVL 15

    Accepted Solution

    I came across this problem when I am still using VB6 two years ago...

    What I did then was, I update the vb6 from sp5 to sp6 then the bugs disaapeard...

    Here is the link...

    Author Comment

    I have upgraded and am unable to recreate the issue.  I'll accept your suggestion, Jack.  Thanks again!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
    Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
    Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
    Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now