Solved

Reasons for multiple Form Paint Events Vb6

Posted on 2013-06-19
2
512 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

910 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

22 Experts available now in Live!

Get 1:1 Help Now