VB 6 Runtime Form Scrambled Graphics RRS feed

  • Question

  • I have a running Visual Basic 6 application(Simulator) with legacy code. It has many user controls placed on a single fom (I know thats not a good practice but thats the way I get the existing). Now as I have added some new instances of same user conntrols on the form i started getting error "Out of Memory" & the VB IDE get stuck. I searched the blogs and removed some user controls. Now i am not getting those "Out of Memory" errors in Design time or Run time. But every now and then in Run time whenever I am trying to popup a any "form" from the "Main" form. All the "Main form" Graphics get scrambled. It is as if the runtime graphics of form go nuts. The only way to regain those graphics is by minimizing and then maximizing that particular form. I have tried Refreshing the form but thats not working for me well. Please advise of what may be the cause of the Scrambled runtime graphics of the forms? FYI: I have PC with following specs Core 2 Duo 2.4 Ghz 4 GB RAM NVIDIA Graphics Card
    Monday, June 21, 2010 6:37 AM