Solved

Reasons for multiple Form Paint Events Vb6

Posted on 2013-06-19
2
526 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses
Course of the Month7 days, 17 hours left to enroll

617 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