Click here to Skip to main content
15,887,214 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: [VB.NET 2008] A runtime created Timer doesn't work Pin
steve_949661318-Sep-13 3:37
professionalsteve_949661318-Sep-13 3:37 
GeneralRe: [VB.NET 2008] A runtime created Timer doesn't work Pin
steve_949661318-Sep-13 23:11
professionalsteve_949661318-Sep-13 23:11 
GeneralRe: [VB.NET 2008] A runtime created Timer doesn't work Pin
Pete O'Hanlon18-Sep-13 23:27
mvePete O'Hanlon18-Sep-13 23:27 
GeneralRe: [VB.NET 2008] A runtime created Timer doesn't work Pin
steve_949661319-Sep-13 0:00
professionalsteve_949661319-Sep-13 0:00 
GeneralRe: [VB.NET 2008] A runtime created Timer doesn't work Pin
Pete O'Hanlon19-Sep-13 0:09
mvePete O'Hanlon19-Sep-13 0:09 
GeneralRe: [VB.NET 2008] A runtime created Timer doesn't work Pin
steve_949661319-Sep-13 1:39
professionalsteve_949661319-Sep-13 1:39 
GeneralRe: [VB.NET 2008] A runtime created Timer doesn't work Pin
Pete O'Hanlon20-Sep-13 1:11
mvePete O'Hanlon20-Sep-13 1:11 
GeneralRe: [VB.NET 2008] A runtime created Timer doesn't work Pin
steve_949661320-Sep-13 2:29
professionalsteve_949661320-Sep-13 2:29 
Thanks for your effort.
I did what you suggest but the result is the same: the tick event is not fired.

I fear it can be a problem related to thread.

The web server is a class with a thread that start the listener to receive connections from remote.
In the main thread of the application I instantiate an object WebServer and in this way I start its thread (the thread is created and started in the sub New() of the class).

The list of users (objects of the class CWebUser) is created in the main thread of the application.

The sub SetWUser(...) that enable the WUTimer is part of the class of the web server and is called by the function VerifyLogInData(...) called in the loop of the thread of the web server...

Is it possible that the problem is that I try to use from thread X a method of an object created in thread Y?
GeneralRe: [VB.NET 2008] A runtime created Timer doesn't work Pin
steve_949661323-Sep-13 4:51
professionalsteve_949661323-Sep-13 4:51 
AnswerRe: [VB.NET 2008] A runtime created Timer doesn't work Pin
Eddy Vluggen19-Sep-13 0:28
professionalEddy Vluggen19-Sep-13 0:28 
GeneralRe: [VB.NET 2008] A runtime created Timer doesn't work Pin
steve_949661319-Sep-13 1:52
professionalsteve_949661319-Sep-13 1:52 
GeneralRe: [VB.NET 2008] A runtime created Timer doesn't work Pin
Eddy Vluggen19-Sep-13 2:59
professionalEddy Vluggen19-Sep-13 2:59 
GeneralRe: [VB.NET 2008] A runtime created Timer doesn't work Pin
steve_949661319-Sep-13 4:02
professionalsteve_949661319-Sep-13 4:02 
GeneralRe: [VB.NET 2008] A runtime created Timer doesn't work Pin
Eddy Vluggen19-Sep-13 4:57
professionalEddy Vluggen19-Sep-13 4:57 
Questionfinding a range between 2 special characters Pin
nagham_4ng17-Sep-13 22:53
nagham_4ng17-Sep-13 22:53 
AnswerRe: finding a range between 2 special characters Pin
Eddy Vluggen18-Sep-13 0:32
professionalEddy Vluggen18-Sep-13 0:32 
GeneralRe: finding a range between 2 special characters Pin
nagham_4ng18-Sep-13 19:24
nagham_4ng18-Sep-13 19:24 
GeneralRe: finding a range between 2 special characters Pin
Eddy Vluggen19-Sep-13 0:28
professionalEddy Vluggen19-Sep-13 0:28 
Questionc# .net RichtextBox Pin
Member 774863016-Sep-13 9:02
Member 774863016-Sep-13 9:02 
AnswerRe: c# .net RichtextBox Pin
Eddy Vluggen18-Sep-13 0:28
professionalEddy Vluggen18-Sep-13 0:28 
GeneralRe: c# .net RichtextBox Pin
Member 774863018-Sep-13 3:35
Member 774863018-Sep-13 3:35 
GeneralRe: c# .net RichtextBox Pin
Eddy Vluggen18-Sep-13 7:02
professionalEddy Vluggen18-Sep-13 7:02 
GeneralRe: c# .net RichtextBox Pin
Member 774863018-Sep-13 12:21
Member 774863018-Sep-13 12:21 
QuestionHelp Regarding Source Code Of Meshack Pin
Caiser Mahmood13-Sep-13 21:47
Caiser Mahmood13-Sep-13 21:47 
SuggestionRe: Help Regarding Source Code Of Meshack Pin
Richard MacCutchan13-Sep-13 22:22
mveRichard MacCutchan13-Sep-13 22:22 

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.