Link to home
Start Free TrialLog in
Avatar of P.J. Hughes
P.J. HughesFlag for United States of America

asked on

Potential Problem with VB6 User Control

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.
Avatar of P.J. Hughes
P.J. Hughes
Flag of United States of America image

ASKER

Slow day for the experts?
ASKER CERTIFIED SOLUTION
Avatar of JackOfPH
JackOfPH
Flag of Philippines image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I have upgraded and am unable to recreate the issue.  I'll accept your suggestion, Jack.  Thanks again!