Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Reasons for multiple Form Paint Events Vb6

Posted on 2013-06-19
2
Medium Priority
?
535 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 300 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

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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 utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

715 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