Click here to Skip to main content
15,914,074 members
Home / Discussions / C#
   

C#

 
GeneralRe: Threading help? Pin
eric_tran12-Apr-06 9:08
eric_tran12-Apr-06 9:08 
QuestionTooltip does not show up Pin
smurfy3412-Apr-06 7:35
smurfy3412-Apr-06 7:35 
AnswerRe: Tooltip does not show up Pin
Manas Bhardwaj12-Apr-06 23:15
professionalManas Bhardwaj12-Apr-06 23:15 
GeneralRe: Tooltip does not show up Pin
smurfy3414-Apr-06 4:19
smurfy3414-Apr-06 4:19 
AnswerRe: Tooltip does not show up Pin
lvanerstrom14-Apr-06 8:18
lvanerstrom14-Apr-06 8:18 
GeneralRe: Tooltip does not show up Pin
smurfy3414-Apr-06 9:14
smurfy3414-Apr-06 9:14 
QuestionSynchronization thread help? Pin
eric_tran12-Apr-06 7:28
eric_tran12-Apr-06 7:28 
AnswerRe: Synchronization thread help? Pin
Judah Gabriel Himango12-Apr-06 7:43
sponsorJudah Gabriel Himango12-Apr-06 7:43 
1. Locks are meant to be used inside the threaded code, not outside where you begin the thread. (In other words, use locks inside your AccessData method, not where you start the thread.)

2. You can start a thread with a parameter using something like this:

ParameterizedThreadStart threadStart = MyFunction;
Thread myThread = new Thread(threadStart);
myThread.Start(myArrayList);
...

void MyFunction(object parameter)
{
    ArrayList list = (ArrayList)parameter;
    // Use the list here. Be sure to lock it before using it.
}


3. Next time, use the <pre> tag around the code you post on this forum to preserve formatting.

Tech, life, family, faith: Give me a visit.
I'm currently blogging about: I luv teh choco
The apostle Paul, modernly speaking: Epistles of Paul

Judah Himango


GeneralRe: Synchronization thread help? Pin
eric_tran12-Apr-06 8:11
eric_tran12-Apr-06 8:11 
GeneralRe: Synchronization thread help? Pin
Judah Gabriel Himango12-Apr-06 8:25
sponsorJudah Gabriel Himango12-Apr-06 8:25 
GeneralRe: Synchronization thread help? Pin
eric_tran12-Apr-06 8:29
eric_tran12-Apr-06 8:29 
GeneralRe: Synchronization thread help? Pin
Judah Gabriel Himango12-Apr-06 9:07
sponsorJudah Gabriel Himango12-Apr-06 9:07 
QuestionHelp required for Hiding in Wav Format Pin
nwr_mn12-Apr-06 7:23
nwr_mn12-Apr-06 7:23 
AnswerRe: Help required for Hiding in Wav Format Pin
Corinna John12-Apr-06 21:25
Corinna John12-Apr-06 21:25 
QuestionHow to encrypt XML file Pin
engsrini12-Apr-06 7:15
engsrini12-Apr-06 7:15 
QuestionHow do I enter a field with the entry selected Pin
smurfy3412-Apr-06 6:24
smurfy3412-Apr-06 6:24 
AnswerRe: How do I enter a field with the entry selected Pin
darkelv12-Apr-06 6:42
darkelv12-Apr-06 6:42 
QuestionSteganography in BMP Pin
nwr_mn12-Apr-06 6:10
nwr_mn12-Apr-06 6:10 
NewsRe: Steganography in BMP Pin
leppie12-Apr-06 6:51
leppie12-Apr-06 6:51 
GeneralRe: Steganography in BMP Pin
nwr_mn12-Apr-06 7:19
nwr_mn12-Apr-06 7:19 
GeneralRe: Steganography in BMP Pin
Dave Kreskowiak12-Apr-06 8:05
mveDave Kreskowiak12-Apr-06 8:05 
GeneralRe: Steganography in BMP Pin
leppie12-Apr-06 20:06
leppie12-Apr-06 20:06 
QuestionThreading help? Pin
eric_tran12-Apr-06 5:44
eric_tran12-Apr-06 5:44 
AnswerRe: Threading help? Pin
Robin Panther12-Apr-06 5:59
Robin Panther12-Apr-06 5:59 
Questiontextbox cursor position Pin
PaulaM12-Apr-06 5:18
PaulaM12-Apr-06 5:18 

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.