Timer Problem 
Author Message
 Timer Problem

Bjorn,

Try StartTime = Now and you may have more joy.

HTH

Peter


    Hy all!
    I wanna print out the current connect time. I'm using the Timer Object
from VB5.
    Here my code:

    option explicit
    dim StartTime as date

    privat sub StartTiming()
        StartTime = Time 'Here is the place the de{*filter*} show the error!
        Timer1.Enabled = True
    End Sub

    Private Sub Timer1_Timer() 'Gives the current Time out
        stbAuskunft.Panels.Item(2) = Format(Now - StartZeit, "hh:nn:ss") & "
"
    End Sub

    The Problem now is, that after compiling the de{*filter*} says
"Runtime-Error 91" "Object or with block not declared"
    But I have declared it, or?

    Please help me!
    Thanks
    Bjoern




Fri, 09 Mar 2001 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Q: Timer problem (need simple count up timer)

2. Q: Timer problem (need simple count up timer)

3. Timer Problem

4. lap timer problem

5. Progress Bar/Stopwatch Timer problem

6. timer problem

7. annoying timer problem

8. timer problem

9. Timer problem

10. Major Timer Problem!!

11. Timer problems

12. hires timer problem : runtime error 429

 

 
Powered by phpBB® Forum Software