Click here to Skip to main content
15,887,214 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How to add clock timer to listview column in vb6? Pin
nlarson1110-May-07 11:10
nlarson1110-May-07 11:10 
GeneralRe: How to add clock timer to listview column in vb6? Pin
method00710-May-07 11:18
method00710-May-07 11:18 
GeneralRe: How to add clock timer to listview column in vb6? [modified] Pin
nlarson1111-May-07 11:18
nlarson1111-May-07 11:18 
GeneralRe: How to add clock timer to listview column in vb6? Pin
method00711-May-07 19:48
method00711-May-07 19:48 
GeneralRe: How to add clock timer to listview column in vb6? Pin
nlarson1112-May-07 1:32
nlarson1112-May-07 1:32 
GeneralRe: How to add clock timer to listview column in vb6? Pin
method00712-May-07 1:40
method00712-May-07 1:40 
GeneralRe: How to add clock timer to listview column in vb6? Pin
nlarson1112-May-07 1:45
nlarson1112-May-07 1:45 
GeneralRe: How to add clock timer to listview column in vb6? Pin
method00712-May-07 1:49
method00712-May-07 1:49 
same overflow errorFrown | :-( (

Private Sub Form_Load()<br />
mStart = Timer<br />
<br />
'Set up the listview<br />
    ListView1.View = lvwReport<br />
    ListView1.ColumnHeaders.Add , , "Artist"<br />
    ListView1.ColumnHeaders.Add , , "Name"<br />
    ListView1.ColumnHeaders.Add , , "Image"<br />
    ListView1.ColumnHeaders.Add , , "Rating"<br />
    'ListView1.ColumnHeaders.Add , , "Song ID"<br />
    ListView1.ColumnHeaders.Add , , "Total Votes"<br />
    ListView1.ColumnHeaders.Add , , "Page"<br />
    ListView1.ColumnHeaders.Add , , "Referrer"<br />
    ListView1.ColumnHeaders.Add , , "pageWindowName"<br />
    <br />
    <br />
    Timer1.Interval = 1000 ' <-- 10 seconds<br />
    Timer1.Enabled = True<br />
    <br />
<br />
End Sub<br />
<br />
Private Sub Timer1_Timer()<br />
<br />
ListView1.ListItems(1).ListSubItems(4).Text = Format(TimeSerial(0, 0, CLng(Timer - mStart)), "hh:nn:ss")<br />
<br />
End Sub

QuestionMilliseconds to Minutes Pin
Stigmurder10-May-07 6:19
Stigmurder10-May-07 6:19 
AnswerRe: Milliseconds to Minutes Pin
Dave Kreskowiak10-May-07 6:33
mveDave Kreskowiak10-May-07 6:33 
GeneralRe: Milliseconds to Minutes Pin
Stigmurder10-May-07 7:19
Stigmurder10-May-07 7:19 
JokeRe: Milliseconds to Minutes Pin
CPallini10-May-07 9:03
mveCPallini10-May-07 9:03 
GeneralRe: Milliseconds to Minutes Pin
Dave Kreskowiak10-May-07 10:42
mveDave Kreskowiak10-May-07 10:42 
QuestionVB6 Int() Function Pin
Marcus J. Smith10-May-07 5:05
professionalMarcus J. Smith10-May-07 5:05 
AnswerRe: VB6 Int() Function Pin
Dave Kreskowiak10-May-07 5:17
mveDave Kreskowiak10-May-07 5:17 
GeneralRe: VB6 Int() Function [modified] Pin
Marcus J. Smith10-May-07 5:26
professionalMarcus J. Smith10-May-07 5:26 
GeneralRe: VB6 Int() Function Pin
Dave Kreskowiak10-May-07 6:28
mveDave Kreskowiak10-May-07 6:28 
GeneralRe: VB6 Int() Function Pin
Marcus J. Smith10-May-07 6:38
professionalMarcus J. Smith10-May-07 6:38 
AnswerRe: VB6 Int() Function Pin
Guffa10-May-07 8:18
Guffa10-May-07 8:18 
GeneralRe: VB6 Int() Function Pin
Marcus J. Smith10-May-07 8:28
professionalMarcus J. Smith10-May-07 8:28 
QuestionCaesar Cipher Crack Pin
Irshadt10-May-07 3:27
Irshadt10-May-07 3:27 
AnswerRe: Caesar Cipher Crack Pin
Colin Angus Mackay10-May-07 3:29
Colin Angus Mackay10-May-07 3:29 
QuestionCaesar Cipher Crack Pin
Irshadt10-May-07 3:24
Irshadt10-May-07 3:24 
AnswerRe: Caesar Cipher Crack Pin
Colin Angus Mackay10-May-07 3:30
Colin Angus Mackay10-May-07 3:30 
GeneralRe: Caesar Cipher Crack Pin
Christian Graus10-May-07 10:29
protectorChristian Graus10-May-07 10:29 

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.