Displaying StopWatch
-
I have problem with this Code I want to display stopwath in the textbox with format "h:m", but it cannot run....! :doh: Any body can make this Code perfect...?
Dim timePerParse As Stopwatch Dim jam1 As String stp = Stopwatch.StartNew jam1 = Format(timePerParse, "h:m").ToString Me.TextBox2.Text = jam1
Thanks at allBest Regards, Ahmad Rifai Yusuf
-
I have problem with this Code I want to display stopwath in the textbox with format "h:m", but it cannot run....! :doh: Any body can make this Code perfect...?
Dim timePerParse As Stopwatch Dim jam1 As String stp = Stopwatch.StartNew jam1 = Format(timePerParse, "h:m").ToString Me.TextBox2.Text = jam1
Thanks at allBest Regards, Ahmad Rifai Yusuf
Ahmad Rifai Yusuf wrote:
Dim timePerParse As Stopwatch
You haven't instantiated
StopWatch
class. Read the documentation[^]All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions