Click here to Skip to main content
15,916,280 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Background image in VB.net Pin
Dave Kreskowiak18-May-07 12:47
mveDave Kreskowiak18-May-07 12:47 
QuestionEnumChildWindows Pin
Knoen17-May-07 3:33
Knoen17-May-07 3:33 
AnswerRe: EnumChildWindows Pin
Duncan Edwards Jones17-May-07 4:07
professionalDuncan Edwards Jones17-May-07 4:07 
GeneralRe: EnumChildWindows Pin
Knoen17-May-07 4:18
Knoen17-May-07 4:18 
QuestionCountdown Timer Pin
Brizee17-May-07 3:01
Brizee17-May-07 3:01 
AnswerRe: Countdown Timer Pin
Tarakeshwar Reddy17-May-07 3:48
professionalTarakeshwar Reddy17-May-07 3:48 
GeneralRe: Countdown Timer Pin
Brizee17-May-07 4:17
Brizee17-May-07 4:17 
GeneralRe: Countdown Timer Pin
jchigg200017-May-07 10:28
jchigg200017-May-07 10:28 
You could display "Now" and then set the timer event to update the textbox/label and set the timer interval to 1000 milliseconds (1 second).

Here is a sample

Dim d As Date
Dim ts As TimeSpan

Private Sub TimerTick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
d = #12/25/2007#
ts = d.Subtract(Now)
Label1.Text = ts.ToString
End Sub

Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
Timer1.Interval = 1000
Timer1.Enabled = True
End Sub
GeneralRe: Countdown Timer Pin
Brizee17-May-07 13:05
Brizee17-May-07 13:05 
GeneralRe: Countdown Timer Pin
Brizee17-May-07 23:25
Brizee17-May-07 23:25 
QuestionCoCreateGuid API .vb.net Pin
bony_baba17-May-07 2:39
bony_baba17-May-07 2:39 
AnswerRe: CoCreateGuid API .vb.net Pin
Dave Kreskowiak17-May-07 4:58
mveDave Kreskowiak17-May-07 4:58 
GeneralRe: CoCreateGuid API .vb.net [modified] Pin
bony_baba18-May-07 0:13
bony_baba18-May-07 0:13 
GeneralRe: CoCreateGuid API .vb.net Pin
Dave Kreskowiak18-May-07 12:50
mveDave Kreskowiak18-May-07 12:50 
QuestionProblem occour when registering dll on win xp Pin
koolprasad200317-May-07 1:37
professionalkoolprasad200317-May-07 1:37 
AnswerRe: Problem occour when registering dll on win xp Pin
Christian Graus17-May-07 2:16
protectorChristian Graus17-May-07 2:16 
QuestionGet all window handles Pin
Burillo17-May-07 1:04
Burillo17-May-07 1:04 
AnswerRe: Get all window handles Pin
Dave Kreskowiak17-May-07 4:54
mveDave Kreskowiak17-May-07 4:54 
GeneralRe: Get all window handles Pin
Burillo17-May-07 6:17
Burillo17-May-07 6:17 
GeneralRe: Get all window handles Pin
Dave Kreskowiak17-May-07 6:24
mveDave Kreskowiak17-May-07 6:24 
QuestionDesktop refresh on Timer_Tick Pin
The ANZAC16-May-07 22:32
The ANZAC16-May-07 22:32 
QuestionRe: Desktop refresh on Timer_Tick Pin
Sonia Gupta16-May-07 22:35
Sonia Gupta16-May-07 22:35 
AnswerRe: Desktop refresh on Timer_Tick Pin
Christian Graus17-May-07 2:37
protectorChristian Graus17-May-07 2:37 
AnswerRe: Desktop refresh on Timer_Tick Pin
Dave Kreskowiak17-May-07 4:48
mveDave Kreskowiak17-May-07 4:48 
GeneralRe: Desktop refresh on Timer_Tick Pin
The ANZAC17-May-07 11:27
The ANZAC17-May-07 11:27 

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.