Click here to Skip to main content
15,914,281 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralExport a Dataset to a csv file. Pin
UniBond22-Apr-05 4:43
UniBond22-Apr-05 4:43 
GeneralRe: Export a Dataset to a csv file. Pin
chrismerrill22-Apr-05 5:52
chrismerrill22-Apr-05 5:52 
GeneralRe: Export a Dataset to a csv file. Pin
UniBond23-Apr-05 7:51
UniBond23-Apr-05 7:51 
GeneralHowTo Bind An ImageButton to a DataSource.Help!!! Pin
22-Apr-05 4:20
suss22-Apr-05 4:20 
GeneralRe: HowTo Bind An ImageButton to a DataSource.Help!!! Pin
Dave Kreskowiak22-Apr-05 5:14
mveDave Kreskowiak22-Apr-05 5:14 
Generali Pin
Anonymous22-Apr-05 4:09
Anonymous22-Apr-05 4:09 
GeneralRe: i Pin
toxcct22-Apr-05 4:32
toxcct22-Apr-05 4:32 
Generalcollections doubt Pin
carlos_rocha22-Apr-05 3:56
carlos_rocha22-Apr-05 3:56 
Hi!

I have a collection where i keep objects of a certain type.From time to time i need to enumerate the collection and access some properties of that object to know if that object is obsolete and remove it from the collection. Many threads manipulate those objects, ones for reading others for writing.

My question is: to assuere thread-safety should i lock the collection or the current Object being processed? I ask this because even though the collection is locked if another thread changes the object directly the lock to the collection is useless!!!

Anyone can help me with this?

Another question: if i have a synchronized version of the collection, if another thread modifies the collection through a synchronized version of the collection will it afect the first thread?

thx in advance

Never say never
GeneralRe: collections doubt Pin
Dave Kreskowiak22-Apr-05 5:12
mveDave Kreskowiak22-Apr-05 5:12 
GeneralRe: collections doubt Pin
carlos_rocha22-Apr-05 7:42
carlos_rocha22-Apr-05 7:42 
GeneralRe: collections doubt Pin
Dave Kreskowiak22-Apr-05 13:17
mveDave Kreskowiak22-Apr-05 13:17 
GeneralRe: collections doubt Pin
rwestgraham22-Apr-05 14:11
rwestgraham22-Apr-05 14:11 
GeneralRe: collections doubt Pin
carlos_rocha25-Apr-05 22:31
carlos_rocha25-Apr-05 22:31 
GeneralRe: collections doubt Pin
rwestgraham26-Apr-05 13:09
rwestgraham26-Apr-05 13:09 
GeneralRe: collections doubt Pin
carlos_rocha26-Apr-05 22:19
carlos_rocha26-Apr-05 22:19 
GeneralRe: collections doubt Pin
rwestgraham1-May-05 10:19
rwestgraham1-May-05 10:19 
GeneralCannot copy… It is being used by another person Pin
KreativeKai22-Apr-05 3:50
professionalKreativeKai22-Apr-05 3:50 
GeneralRe: Cannot copy… It is being used by another person Pin
Dave Kreskowiak22-Apr-05 5:02
mveDave Kreskowiak22-Apr-05 5:02 
GeneralRe: Cannot copy… It is being used by another person Pin
KreativeKai22-Apr-05 6:22
professionalKreativeKai22-Apr-05 6:22 
GeneralRe: Cannot copy… It is being used by another person Pin
Dave Kreskowiak22-Apr-05 7:05
mveDave Kreskowiak22-Apr-05 7:05 
GeneralRe: Cannot copy… It is being used by another person Pin
Dave Kreskowiak22-Apr-05 7:14
mveDave Kreskowiak22-Apr-05 7:14 
GeneralRe: Cannot copy… It is being used by another person Pin
rwestgraham25-Apr-05 9:01
rwestgraham25-Apr-05 9:01 
Generalweb services Pin
muktajoshi_1022-Apr-05 1:40
muktajoshi_1022-Apr-05 1:40 
GeneralRe: web services Pin
Dave Kreskowiak22-Apr-05 4:55
mveDave Kreskowiak22-Apr-05 4:55 
GeneralError Handling Pin
dpagka21-Apr-05 23:38
dpagka21-Apr-05 23:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.