Click here to Skip to main content
15,907,183 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow to save any file in registy Pin
Syed Ali Raza16-Aug-06 7:21
Syed Ali Raza16-Aug-06 7:21 
AnswerRe: How to save any file in registy Pin
Christian Graus16-Aug-06 12:30
protectorChristian Graus16-Aug-06 12:30 
GeneralRe: How to save any file in registy Pin
hannesHTG17-Aug-06 3:48
hannesHTG17-Aug-06 3:48 
Questionwebclient on multiple threads? Pin
cstrader23216-Aug-06 5:12
cstrader23216-Aug-06 5:12 
AnswerRe: webclient on multiple threads? Pin
Stephen McGuire16-Aug-06 5:56
Stephen McGuire16-Aug-06 5:56 
GeneralRe: webclient on multiple threads? Pin
cstrader23216-Aug-06 6:31
cstrader23216-Aug-06 6:31 
GeneralRe: webclient on multiple threads? Pin
Stephen McGuire16-Aug-06 6:49
Stephen McGuire16-Aug-06 6:49 
GeneralRe: webclient on multiple threads? Pin
cstrader23216-Aug-06 17:23
cstrader23216-Aug-06 17:23 
Hi again.

Can you give me an example of the "wait handler" code? I'm trying to sort this out.... but I'm not too good at it!

I have my primary thread running.

Then I call a secondary thread (backupworker)

They both keep running continuously, and they both need to call
WebClient.DownloadData() at random intervals.

I put the webclient call in a function (Myfunction), so that both threads call the same function. Is this OK?

It looks to me like what I want are:

System.Threading.Monitor.Enter(Myfunction)
System.Threading.Monitor.Exit(Myfunction)

But I don't know exactly where to put them, or if this is right.

Thanks so much for your help!

chuck
GeneralRe: webclient on multiple threads? Pin
Stephen McGuire17-Aug-06 0:48
Stephen McGuire17-Aug-06 0:48 
GeneralRe: webclient on multiple threads? Pin
Keith Malwitz17-Aug-06 18:01
Keith Malwitz17-Aug-06 18:01 
GeneralRe: webclient on multiple threads? Pin
cstrader23218-Aug-06 3:12
cstrader23218-Aug-06 3:12 
QuestionUpdate database in designer Pin
cstrader23216-Aug-06 5:11
cstrader23216-Aug-06 5:11 
AnswerRe: Update database in designer Pin
Stephen McGuire16-Aug-06 5:47
Stephen McGuire16-Aug-06 5:47 
GeneralRe: Update database in designer Pin
cstrader23216-Aug-06 6:34
cstrader23216-Aug-06 6:34 
QuestionDateTime datatype returns Date only Pin
TAtechsupport16-Aug-06 5:11
TAtechsupport16-Aug-06 5:11 
AnswerRe: DateTime datatype returns Date only Pin
Stephen McGuire16-Aug-06 5:40
Stephen McGuire16-Aug-06 5:40 
GeneralRe: DateTime datatype returns Date only Pin
TAtechsupport16-Aug-06 6:57
TAtechsupport16-Aug-06 6:57 
AnswerRe: DateTime datatype returns Date only Pin
Guffa16-Aug-06 8:38
Guffa16-Aug-06 8:38 
GeneralRe: DateTime datatype returns Date only Pin
TAtechsupport16-Aug-06 8:56
TAtechsupport16-Aug-06 8:56 
GeneralRe: DateTime datatype returns Date only Pin
Stephen McGuire16-Aug-06 9:52
Stephen McGuire16-Aug-06 9:52 
GeneralRe: DateTime datatype returns Date only Pin
TAtechsupport16-Aug-06 10:25
TAtechsupport16-Aug-06 10:25 
GeneralRe: DateTime datatype returns Date only Pin
Stephen McGuire16-Aug-06 10:37
Stephen McGuire16-Aug-06 10:37 
GeneralRe: DateTime datatype returns Date only Pin
TAtechsupport16-Aug-06 10:42
TAtechsupport16-Aug-06 10:42 
GeneralRe: DateTime datatype returns Date only Pin
Stephen McGuire16-Aug-06 10:50
Stephen McGuire16-Aug-06 10:50 
GeneralRe: DateTime datatype returns Date only Pin
TAtechsupport16-Aug-06 11:23
TAtechsupport16-Aug-06 11:23 

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.