Jamie if you started .NET Compact Framework development you should take a look into
http://www.opennetcf.org, they have the smart device extensions for compact framework and on there is the class you need look the help
http://www.opennetcf.com/library/sdf/OpenNETCF.IO.FileSystemWatcher.htmThere are alot of other good classes in there like the background working thread that isn't part of the compact framework 2.0 and comes with the smart device extensions.
>I have a VFP app which is putting a text file onto a PDA. A VB.NET app running on the pda uses that file.
>
>At the moment the user of the .NET app on the pda hits a command button to tell the app that a new text file has arrived to be dealt with.
>
>I would like the app to learn this with no user interaction.
>
>I could have a timer on the app look for the existence of the new file in a certain directory but I'm sure that there must be a better way, either by the VFP app "telling" the .NET app directly or by the .NET app binding to some event in the file system that tells it that a new file has been created.
>
>Any ideas.
>
>PS. I am a .NET "newbie"
Alexandre Palma
Senior Application Architect