Stop Forms from Flickering while updating Controls
Category:Forms and Controls
Often when updating a Treeview, ListView etc. a lot of flickering takes place. To prevent this create a class called Freeze and use it in your form like this: Dim Freeze as New Freeze Freeze.Form Me when the scope goes out range the class will destroy itself and everything will be back to normal.
Instructions: Copy the declarations and code below and paste directly into your VB project.