Shirley,

I add a timer control to the main BSS form.  Then I add the following code
to the timer.

Private Sub Timer2_Timer()
    
    ' Will execute at 1 am
    If (Hour(Now) = 1) Then
        ' Will give this program 1 minutes to run. . .
        If (Minute(Now) = 1) Then
            Timer2.Enabled = False
            DoEvents
            ' This script runs script number 1
            StartScript 1
        End If
    End If
    
End Sub

Hope this helps,

Tom

 -----Original Message-----
From:   Shirley Hammack [mailto:[EMAIL PROTECTED] 
Sent:   Wednesday, June 30, 2004 11:39 AM
To:     [EMAIL PROTECTED]
Subject:        RE: [Talk] 

I'm extremely green in this area.  I'll definitely need more guidance.

Shirley Hammack
IS Financial Analyst
Jackson County Memorial Hospital
580-482-4781 ext 2554


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Dwyer, Tom
Sent: Wednesday, June 30, 2004 11:34 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [Talk] 


Shirley,

I use the VB Timer and the DateDiff function to call a said script.  If you
need more information let me know.

Tom Dwyer
Affinity Health System


 -----Original Message-----
From:   Shirley Hammack [mailto:[EMAIL PROTECTED] 
Sent:   Wednesday, June 30, 2004 11:27 AM
To:     Boston Work Station (E-mail)
Subject:        [Talk] 

I'm probably trying to re-invent the wheel, but is there a command to have a
script "wait until a certain time to begin execution" that doesn't involve
using 100% of the CPU resources?

Shirley Hammack
IS Financial Analyst
Jackson County Memorial Hospital
580-482-4781 ext 2554

Reply via email to