Solved

Reasons for multiple Form Paint Events Vb6

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

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…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…

776 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