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

.NET (Core and Framework)

 
GeneralRe: Decimal To Octal,Vb.net Pin
srinivasankrishnaa24-Sep-13 6:08
srinivasankrishnaa24-Sep-13 6:08 
GeneralRe: Decimal To Octal,Vb.net Pin
Ron Beyer24-Sep-13 7:00
professionalRon Beyer24-Sep-13 7:00 
Question.net usercontrols and the vs2010 designer Pin
Member 774863018-Sep-13 12:17
Member 774863018-Sep-13 12:17 
AnswerRe: .net usercontrols and the vs2010 designer Pin
Dave Kreskowiak18-Sep-13 13:14
mveDave Kreskowiak18-Sep-13 13:14 
GeneralRe: .net usercontrols and the vs2010 designer Pin
Member 774863018-Sep-13 13:55
Member 774863018-Sep-13 13:55 
GeneralRe: .net usercontrols and the vs2010 designer Pin
Dave Kreskowiak18-Sep-13 15:07
mveDave Kreskowiak18-Sep-13 15:07 
Question[VB.NET 2008] A runtime created Timer doesn't work Pin
steve_949661318-Sep-13 1:43
professionalsteve_949661318-Sep-13 1:43 
AnswerRe: [VB.NET 2008] A runtime created Timer doesn't work Pin
Pete O'Hanlon18-Sep-13 2:44
mvePete O'Hanlon18-Sep-13 2:44 
I'm pretty sure you have to Start the timer. If I were you, I would refactor the class so that you had a method like this in it:
VB
Public Sub Start(ByVal IPAddress As String, ByVal IsLogged As Boolean)
  IP = IPAddress
  Logged = IsLogged
  StartSession = DateTime.Now.Ticks
  mUTimer.Enabled = True
  muTimer.Start
End Sub
Then you replace a lot of your code with a simple
VB
CType(CGlobali.Users.Item(i), CWebUser).Start(IP, True)


GeneralRe: [VB.NET 2008] A runtime created Timer doesn't work Pin
steve_949661318-Sep-13 3:06
professionalsteve_949661318-Sep-13 3:06 
GeneralRe: [VB.NET 2008] A runtime created Timer doesn't work Pin
Pete O'Hanlon18-Sep-13 3:26
mvePete O'Hanlon18-Sep-13 3:26 
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 
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 

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.