Login Register


[VB.Net]Get computer running hour(s) and minutes filter_list
Author
Message
[VB.Net]Get computer running hour(s) and minutes #1
All credits go to me worked 10 minutes on it.

Code:
Code:
Public Function GetPCRunningHours() If Environment.TickCount \ 60000 >= 1000 Then Return (Environment.TickCount \ 60000).ToString.Insert(2, " Hours ").Insert(11, " Minutes") Else Return (Environment.TickCount \ 60000).ToString.Insert(1, " Hours ").Insert(10, " Minutes") End If End Function



Usage:
Code:
MsgBox("Computer Has been running for " & GetPCRunningHours)
(This post was last modified: 05-02-2011, 08:40 PM by Skullmeat.)
Pierce the life fibers with your drill.

Reply

RE: [VB.Net]Get computer running hour(s) and minutes #2
Nice, good work. Smile
[Image: rytwG00.png]
Redcat Revolution!

Reply

RE: [VB.Net]Get computer running hour(s) and minutes #3
nice , it will really help me in my AIO tool [: .
[Image: tumblr_lawowkq1WB1qd0ix2o1_500.png]

Reply







Users browsing this thread: