Solved

Reasons for multiple Form Paint Events Vb6

Posted on 2013-06-19
2
505 Views
Last Modified: 2013-06-20
We have VB6 application that has been deployed to 500+ clients.  499 are working fine but one computer is causing a paint event on a form to be raised 10x the number of other machines. I feel like i understand the lifecycle of a vb6 form, and I'm not a fan of the paint method for his it is implemented in our code but I inherited the code.
This client is blaming our software, even though it runs on another 9 workstations around him and he is refusing to accept the fact that it is something on his machine and not our code that is causing the problem.
So, my question is: Does anyone know what might cause a form event to get fired multiple times because of a graphics card, refresh rate, logmein, virus, etc.  I'm capturing the event occurring multiple times in a log file but I don't know what is causing it on this one machine.
I need something measurable to show this client that it is something about his OS or hardware configuration that it isn't our code.
Thanks for any help you might provide.
0
Comment
Question by:rcavins
2 Comments
 
LVL 9

Accepted Solution

by:
COANetwork earned 100 total points
ID: 39260906
a paint event is raised any time the form changes size or location on screen, as well as any time it gains focus, i believe.  If your users machine has any kind of malware like ad popups or any one of a million other virus-like nuisances that may cause the form to lose focus or worse yet - change position - you would be faced with this.
0
 

Author Comment

by:rcavins
ID: 39264861
Thanks. I know it's a vague question. I tried adding additional info to a log file but I finally gave up.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

707 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

17 Experts available now in Live!

Get 1:1 Help Now