You need to use
Timer
object (in the MS Access form) ;) and
GetObject()
function and the API's function:
FindWindow[
^]
MS Access will be execute
Form_Timer()
procedure every time when the period of time has been passed.
Sorry, my english isn't pefect!
The idea is: open form in dialog mode and check every second if pps file is opened.
Read more at:
http://office.microsoft.com/en-us/access-help/timer-function-HA001228923.aspx[
^] and in the MS Access help.
How to do it?
1) create new form
2) insert Label (Label1) on the form
2) copy and paste the code below
Option Compare Database
Option Explicit
Private Sub Form_Load()
Me.TimerInterval = 1000
End Sub
Private Sub Form_Timer()
Me.Label1.Caption = Now
Me.Repaint
End Sub