|
||||||
| VB Tutorials Visual Basic Tutorials and Code |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
||||
|
Re: VB .NET How to make a timer only go (#) amount of times
Nice. Isn't amazing how often a "feature" isn't really needed?
__________________
CodeCall Blog | CodeCall Wiki | Shareware Programming is a branch of mathematics. My CodeCall Blog | My Personal Blog |
|
||||
|
Re: VB .NET How to make a timer only go (#) amount of times
I can't edit it so I guess I'll post it down here... For the timer code, instead of
Code:
thisoddnumber = thisoddnumber + 1 If thisoddnumber > 5 then mitymer.enabled = False Code:
thisoddnumber = thisoddnumber + 1 Print thisoddnumber If thisoddnumber = 5 then mitymer.enabled = False
__________________
|
|
||||
|
Re: VB .NET How to make a timer only go (#) amount of times
Nice little tutorial, +rep!
![]()
__________________
Questions and Answers | Online News and Social Bookmarking | Code and Text Collaboration General Chat Forum |
|
||||
|
Re: VB .NET How to make a timer only go (#) amount of times
I have never got the Print funtion to work in .NET. I believe it is a feature of VB6 only.
Also, I look at this code: Code:
thisoddnumber = thisoddnumber + 1 Code:
thisoddnumber += 1 Code:
If thisoddnumber = 5 then mitymer.enabled = False Code:
mitymer.Enabled = Not (thisoddnumber = 5) |
|
||||
|
Re: VB .NET How to make a timer only go (#) amount of times
very nice tiutorial
+rep when i can
__________________
im a code-warrior, see my avatarwho said arabs cant dance? and who said arabs cant drive??! |
|
||||
|
Re: VB .NET How to make a timer only go (#) amount of times
@Logan: it isn't pretty at all. It is terrible code.
Newcomers to programming should be taught good programming technique IMO. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| VB 6.0: Tutorial, How to make a GIF in your application | TcM | VB Tutorials | 18 | 07-08-2009 04:55 PM |
| VB 6.0: Tutorial, How to Make Glass2K!! | TcM | VB Tutorials | 17 | 05-01-2009 07:31 AM |
| make a label box in vb : help | iTTaleem | Visual Basic Programming | 3 | 01-20-2008 05:06 AM |
| Managed C++ calling VB .net dll function | pranab73 | Managed C++ | 0 | 12-25-2007 01:19 PM |
| How to make Dumplings | ahsan16 | The Lounge | 2 | 01-11-2007 11:55 PM |
All times are GMT -5. The time now is 08:16 AM.
Amrosama.cc
Arekbulski.cc
Debtboy.cc
Guest.cc
Jaan.cc
James.cc
Mathx.cc
Tsz.cc
Vswe.cc