Yes,

that was what I was thinking about.

I think I will let the timer run on the form that is concerned.

When the timer code finds the file, I'll stop the timer, run the rest of the code, restart the timer.

That should work.....if it doesn't take up to much resources of the PC.

Thanks for the help, Mike.

Luc D.

--------------------------------------------------
From: "Mike Byerley" <[email protected]>
Sent: Tuesday, June 07, 2011 3:44 PM
To: "RBASE-L Mailing List" <[email protected]>
Subject: [RBASE-L] - re: is this possible in Rbase ?

Luc,
Put your code in an MDI form that can run visible = false. Put a timer in the form to poll the directory it is to monitor for the presence of the file
and execute the code whenever the file is found.



----- Original Message ----- From: "Luc Delcoigne" <[email protected]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Tuesday, June 07, 2011 2:14 AM
Subject: [RBASE-L] - re: is this possible in Rbase ?


Hi,

this is what I want to do:


I have a .txt file that is written to a specific directory by an external
application.

Now, I need Rbase -code to be triggered whenever this file is
writtten/appears in this directory.

Can this be done ?

Luc D.

Reply via email to