VB.NET - How to Lock the Object in VB.NET
Asked By Nani gd on 03-Aug-12 11:42 AM
I want to lock the object of a class.
i have written a code like :
Dim objLock As New Object
as soon as show method is being executed, some of my background threads are changing data.
so that i am getting error.
to prevent that from what should i do..
Thanks in advance..