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

Re: React on incoming text files by Peter

Peter
Mon Jul 12 02:17:43 CDT 2004

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

--
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org

"Tim Mattingly" <TimMattingly@yahoo.de> wrote in message
news:ccrogk$4ph$03$1@news.t-online.com...
> 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
>
>