Lost Password?


  #11 (permalink)  
Old 09-02-2008, 02:02 AM
Tsukuyomi15 Tsukuyomi15 is offline
Newbie
 
Join Date: Sep 2008
Posts: 11
Rep Power: 0
Tsukuyomi15 is on a distinguished road
Default Re: Tutorial - A Simple Stropwatch!

Would the code be the same for VB .NET?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 09-07-2008, 03:15 PM
Xav's Avatar   
Xav Xav is offline
Code Warrior
 
Join Date: Mar 2008
Location: On God's Planet
Posts: 9,852
Last Blog:
Web slideshow in JavaS...
Rep Power: 78
Xav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud of
Send a message via MSN to Xav
Default Re: Tutorial - A Simple Stropwatch!

Instead of "Caption", it's "Text" in VB.NET.
__________________


Mr. Xav | Website | Forums | Blog
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 09-07-2008, 04:59 PM
chili5's Avatar   
chili5 chili5 is offline
Code Warrior
 
Join Date: Mar 2008
Age: 15
Posts: 3,632
Rep Power: 32
chili5 is a name known to allchili5 is a name known to allchili5 is a name known to allchili5 is a name known to allchili5 is a name known to allchili5 is a name known to all
Default Re: Tutorial - A Simple Stropwatch!

It would have to be slightly modified for VB.NET but it's almost the same code. A few of the methods would be called something different.
__________________
Emo Philips - "My computer beat me at checkers, but I sure beat it at kickboxing."
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 09-08-2008, 02:13 PM
Xav's Avatar   
Xav Xav is offline
Code Warrior
 
Join Date: Mar 2008
Location: On God's Planet
Posts: 9,852
Last Blog:
Web slideshow in JavaS...
Rep Power: 78
Xav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud of
Send a message via MSN to Xav
Default Re: Tutorial - A Simple Stropwatch!

That could be expected, since VB6 and VB.NET are the same language, with the extra .NET bits.
__________________


Mr. Xav | Website | Forums | Blog
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 10-18-2008, 04:48 PM
Epiphany Epiphany is offline
Newbie
 
Join Date: Oct 2008
Posts: 10
Rep Power: 0
Epiphany is on a distinguished road
Unhappy Re: Tutorial - A Simple Stropwatch!

IM confused..... on 2 parts...

[/quote]If tmrStopWatch.Enabled = True Then
tmrStopWatch.Enabled = False
lblTimeMS.Caption = "0.00"
lblTimeMins.Caption = "0"
Else
lblTimeMS.Caption = "0.00"
lblTimeMins.Caption = "0"
End [/quote]

1) i dont know what u have renamed
2) why are there 2 labels?

And

[/quote]lblTimeMS.Caption = Format(Val(lblTimeMS.Caption) + 0.01, "fixed")
If lblTimeMS.Caption = "60.00" Then
lblTimeMins.Caption = lblTimeMins + 1
lblTimeMS.Caption = "0.00"[quote]

1) what does "fixed" mean?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #16 (permalink)  
Old 10-18-2008, 05:32 PM
Epiphany Epiphany is offline
Newbie
 
Join Date: Oct 2008
Posts: 10
Rep Power: 0
Epiphany is on a distinguished road
Default Re: Tutorial - A Simple Stropwatch!

Great i figured it out all by myself but i think there is a problem...... its running slow.... compared to my watch.... why is that?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #17 (permalink)  
Old 10-25-2008, 07:19 PM
Umbrageous's Avatar   
Umbrageous Umbrageous is offline
Newbie
 
Join Date: Oct 2008
Location: Undernet
Posts: 10
Rep Power: 0
Umbrageous is on a distinguished road
Send a message via AIM to Umbrageous Send a message via MSN to Umbrageous Send a message via Yahoo to Umbrageous
Default Re: Tutorial - A Simple Stropwatch!

Oh, The Original Code worked great for me, but I didn't like how it started timing when you ran it, so I added a

Code:
Private Sub Form_Load()
Timer1.Enabled = False
End Sub
Other Tahn that, Great tutorial!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #18 (permalink)  
Old 10-26-2008, 11:10 AM
Xav's Avatar   
Xav Xav is offline
Code Warrior
 
Join Date: Mar 2008
Location: On God's Planet
Posts: 9,852
Last Blog:
Web slideshow in JavaS...
Rep Power: 78
Xav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud of
Send a message via MSN to Xav
Default Re: Tutorial - A Simple Stropwatch!

You don't even need to do that - simply click the Timer in the design view, and change its Enabled property to False in the properties window.
__________________


Mr. Xav | Website | Forums | Blog
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple Hex-Editing TcM Tutorials 31 11-01-2008 10:51 AM
Tutorial: C# Hello World Jordan CSharp Tutorials 15 10-16-2008 11:44 PM
John's Java Tutorial Index John Java Tutorials 0 01-11-2007 04:05 PM
JSP Tutorial encoder JavaScript and CSS 0 05-26-2006 06:31 AM


All times are GMT -5. The time now is 11:00 PM.

Contest Stats

WingedPanther ........ 2753.6
Xav ........ 2704
Brandon W ........ 1702.32
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 966.05
dcs ........ 655.75
Steve.L ........ 475.59
orjan ........ 418.58
Aereshaa ........ 383.54

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 100%


Complete - Celebrate!

Ads