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

.NET (Core and Framework)

 
AnswerRe: Addition in textbox Pin
jaypatel51222-Mar-10 16:28
jaypatel51222-Mar-10 16:28 
QuestionTimer Time question [modified] Pin
Bob Beaubien18-Feb-10 11:22
Bob Beaubien18-Feb-10 11:22 
AnswerRe: Timer Time question Pin
Phil J Pearson18-Feb-10 11:54
Phil J Pearson18-Feb-10 11:54 
AnswerRe: Timer Time question Pin
Dave Kreskowiak18-Feb-10 12:17
mveDave Kreskowiak18-Feb-10 12:17 
GeneralRe: Timer Time question Pin
Bob Beaubien18-Feb-10 12:19
Bob Beaubien18-Feb-10 12:19 
AnswerRe: Timer Time question Pin
Luc Pattyn18-Feb-10 12:34
sitebuilderLuc Pattyn18-Feb-10 12:34 
GeneralRe: Timer Time question Pin
Bob Beaubien18-Feb-10 13:33
Bob Beaubien18-Feb-10 13:33 
GeneralRe: Timer Time question Pin
Luc Pattyn18-Feb-10 13:53
sitebuilderLuc Pattyn18-Feb-10 13:53 
Hi Bob,

several remarks:

1.
try to be informative and accurate, both for yourself (while debugging) as for asking on a forum.
"it did not work" is useless. Did it compile? did it run? did it throw an exception? was the outcome wrong? did nothing happen at all?

2.
in Windows most timing information is expressed as a number of milliseconds.
which does not mean you get millisecond accuracy all the time (you might read my timers article on that!)

3.
timers need to be started explicitly. A timer that isn't started does nothing at all, so a breakpoint at it's Tick handler would never be hit.

4.
You did not show the Tick handler, where the things are or are not going to happen. It does exist, does it?

5.
please use proper identifiers, that are easy to read and self-explaining if possible.
I would choose "clockTimer" or "timeOfDayTimer" instead of "The_Time_Is".
And I would not keep the automatic names Visual Studio provides, so change "Form1" in something more functional in your app.


Overall, I would suggest you grab your VB.NET book and read it (once more) to brush up on the fundamentals and strengthen some good habits...

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]

I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that.
All Toronto weekends should be extremely wet until we get it automated in regular forums, not just QA.

GeneralRe: Timer Time question Pin
Bob Beaubien18-Feb-10 13:59
Bob Beaubien18-Feb-10 13:59 
GeneralRe: Timer Time question Pin
Luc Pattyn18-Feb-10 14:07
sitebuilderLuc Pattyn18-Feb-10 14:07 
GeneralRe: Timer Time question Pin
Bob Beaubien18-Feb-10 14:09
Bob Beaubien18-Feb-10 14:09 
GeneralRe: Timer Time question Pin
Bob Beaubien18-Feb-10 15:01
Bob Beaubien18-Feb-10 15:01 
GeneralRe: Timer Time question Pin
Luc Pattyn18-Feb-10 15:23
sitebuilderLuc Pattyn18-Feb-10 15:23 
QuestionMessage Removed Pin
18-Feb-10 5:34
professionalN_tro_P18-Feb-10 5:34 
AnswerRe: Installer Prerequisites... Pin
Ennis Ray Lynch, Jr.18-Feb-10 6:33
Ennis Ray Lynch, Jr.18-Feb-10 6:33 
AnswerRe: Installer Prerequisites... Pin
dan!sh 18-Feb-10 6:38
professional dan!sh 18-Feb-10 6:38 
AnswerRe: Installer Prerequisites... Pin
William Winner18-Feb-10 8:35
William Winner18-Feb-10 8:35 
AnswerRe: Installer Prerequisites... Pin
Abhinav S18-Feb-10 9:00
Abhinav S18-Feb-10 9:00 
Questionhow to call stored procedure that return values from multible tables using entity framework ?? Pin
gold_killer17-Feb-10 23:38
gold_killer17-Feb-10 23:38 
AnswerRe: how to call stored procedure that return values from multible tables using entity framework ?? Pin
Hardik P Patel18-Feb-10 21:55
Hardik P Patel18-Feb-10 21:55 
QuestionDatagridview sorting and Database. Pin
Johnkokk17-Feb-10 20:26
Johnkokk17-Feb-10 20:26 
AnswerRe: Datagridview sorting and Database. Pin
Ashfield18-Feb-10 3:15
Ashfield18-Feb-10 3:15 
GeneralRe: Datagridview sorting and Database. Pin
Johnkokk18-Feb-10 5:00
Johnkokk18-Feb-10 5:00 
GeneralRe: Datagridview sorting and Database. Pin
Johnkokk19-Feb-10 21:18
Johnkokk19-Feb-10 21:18 
QuestionHello Can any one help me out real quick please [modified] Pin
Bob Beaubien17-Feb-10 9:12
Bob Beaubien17-Feb-10 9:12 

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.