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..