Look up the SyncLock statement. It's probably the easiest way to get what
you're looking for.

-Andy

Andy Johns, MCSD
Senior Consultant-Architect
Magenic Technologies



-----Original Message-----
From: Matthew Small [mailto:[EMAIL PROTECTED]] 
Sent: Monday, September 09, 2002 10:34 AM
To: dotnet
Subject: ASP -VB.NET and locks


Hi - 
        I am writing an ASP app using VB.NET.  Sometimes I need to "lock" a
section of code so that it will be single-threaded during it's operation.  I
know about application locks, but I don't think that's what I'm looking for.
What should I use?

Thanks,

Matthew Small
IT Supervisor
Showstopper National Dance Competitions
3660 Old Kings Hwy
Murrells Inlet, SC 29576
843-357-1847
http://www.showstopperonline.com
 




---
You are currently subscribed to dotnet as: [EMAIL PROTECTED]
To unsubscribe send a blank email to %%email.unsub%%

---------
Administrated by 15 Seconds : http://www.15Seconds.com
List Archives/Search : http://local.15Seconds.com/search Subscription
Information : http://www.15seconds.com/listserv.htm
Advertising Information: http://www.internet.com/mediakit/



---
You are currently subscribed to dotnet as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

---------
Administrated by 15 Seconds : http://www.15Seconds.com
List Archives/Search : http://local.15Seconds.com/search
Subscription Information : http://www.15seconds.com/listserv.htm
Advertising Information: http://www.internet.com/mediakit/


Reply via email to