Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 148
  • Last Modified:

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.
0
4county
Asked:
4county
  • 2
1 Solution
 
4countyAuthor Commented:
Slow day for the experts?
0
 
JackOfPHCommented:
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...

http://www.microsoft.com/downloads/details.aspx?familyid=9EF9BF70-DFE1-42A1-A4C8-39718C7E381D&displaylang=en
0
 
4countyAuthor Commented:
I have upgraded and am unable to recreate the issue.  I'll accept your suggestion, Jack.  Thanks again!
0

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now