React on incoming text files

  • Thread starter Thread starter Tim Mattingly
  • Start date Start date
T

Tim Mattingly

Hi,

i want to have my app reacting on incoming text files, received through the
infrared port.

Now this is the default windows behaviour:

If a text file is receved through the infrared port, the default pocket
windows dialog pops up with the question to accept or reject the incoming
text file. If i accept, the file is saved in the "my documents" folder.

What i want is:

If my app is running i want to recognize, that windows received a text file
and the name of the text file. An alternative would be: my app recognize
that windows receives a text file and pops up its own question, if the text
file should be processed with my app or with the default windows behaviour.

Do you have a Visual Basic sample for me or can you point me to one?

Thanks in advance,

Kevin
 
One possibility would be to use the FileSystemWatcher class from the Smart
Device Framework (www.opennetcf.org/sdf/)
You can then monitor the My Documents folder for changes and start
processing the file.

Peter
 
Back
Top