Click here to Skip to main content
15,914,014 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: how to show LONG column in datagrid vb.net Pin
jomet13-Mar-08 23:26
jomet13-Mar-08 23:26 
Generalplotting in Visual Basics Pin
Orlando234513-Mar-08 18:00
Orlando234513-Mar-08 18:00 
GeneralRe: plotting in Visual Basics Pin
Dave Kreskowiak14-Mar-08 8:04
mveDave Kreskowiak14-Mar-08 8:04 
GeneralRe: plotting in Visual Basics Pin
Orlando234516-Mar-08 9:17
Orlando234516-Mar-08 9:17 
GeneralRe: plotting in Visual Basics Pin
Dave Kreskowiak16-Mar-08 16:42
mveDave Kreskowiak16-Mar-08 16:42 
GeneralTimer Pin
Ahmad Rifai Yusuf13-Mar-08 17:33
Ahmad Rifai Yusuf13-Mar-08 17:33 
GeneralRe: Timer Pin
Kevin Brydon13-Mar-08 23:20
Kevin Brydon13-Mar-08 23:20 
GeneralRe: Timer Pin
AshokPatra14-Mar-08 1:57
AshokPatra14-Mar-08 1:57 
Test this code

Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
' supposing we have a label and it has the text 00:00:00 when the form loads
' Timer interval we can set as per requirement
' I have set it for 0-9. If you want to test upto 1 minute then change 9 by 99 and 10 by 100
s = Label1.Text.Split(":")
If CInt(s(2)) >= 0 AndAlso CInt(s(2)) < 9 Then
s(2) = Format(CInt(s(2)) + 1, "00")
ElseIf CInt(s(2)) = 9 Then
s(2) = Format(0, "00")
s(1) = CInt(s(1)) + 1
s(1) = Format(CInt(s(1)), "00")
End If
If CInt(s(1)) = 10 Then
s(0) = Format(CInt(s(0)) + 1, "00")
s(1) = Format(0, "00")
End If
Label1.Text = s(0) & ":" & s(1) & ":" & s(2)
End Sub

Hope this solves the purpose.
GeneralRe: Timer Pin
jchigg200014-Mar-08 3:10
jchigg200014-Mar-08 3:10 
GeneralRe: Timer Pin
AshokPatra14-Mar-08 1:59
AshokPatra14-Mar-08 1:59 
GeneralRe: Timer Pin
Dave Kreskowiak14-Mar-08 7:53
mveDave Kreskowiak14-Mar-08 7:53 
GeneralRe: Timer Pin
Mycroft Holmes15-Mar-08 22:11
professionalMycroft Holmes15-Mar-08 22:11 
QuestionHow Rotate a Control? Pin
Orlando_Herrera13-Mar-08 10:59
Orlando_Herrera13-Mar-08 10:59 
AnswerRe: How Rotate a Control? Pin
Christian Graus13-Mar-08 11:18
protectorChristian Graus13-Mar-08 11:18 
Questionrandom question from MS access database Pin
bapu288913-Mar-08 10:37
bapu288913-Mar-08 10:37 
GeneralRe: random question from MS access database Pin
Christian Graus13-Mar-08 11:20
protectorChristian Graus13-Mar-08 11:20 
QuestionRe: random question from MS access database Pin
bapu288916-Mar-08 8:20
bapu288916-Mar-08 8:20 
AnswerUse a collection to keep track of numbers already used Pin
David Mujica29-Mar-08 11:26
David Mujica29-Mar-08 11:26 
QuestionRe: Use a collection to keep track of numbers already used Pin
bapu288930-Mar-08 1:49
bapu288930-Mar-08 1:49 
GeneralNetwork communication from a mobile device to desktop [modified] Pin
Cory Kimble13-Mar-08 9:58
Cory Kimble13-Mar-08 9:58 
GeneralRe: Network communication from a mobile device to desktop Pin
nlarson1113-Mar-08 10:54
nlarson1113-Mar-08 10:54 
GeneralRe: Network communication from a mobile device to desktop Pin
Cory Kimble13-Mar-08 11:09
Cory Kimble13-Mar-08 11:09 
GeneralRe: Network communication from a mobile device to desktop Pin
nlarson1113-Mar-08 11:12
nlarson1113-Mar-08 11:12 
GeneralRe: Network communication from a mobile device to desktop Pin
Cory Kimble13-Mar-08 11:20
Cory Kimble13-Mar-08 11:20 
GeneralRe: Network communication from a mobile device to desktop Pin
nlarson1113-Mar-08 11:21
nlarson1113-Mar-08 11:21 

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.