Pocket Notes

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

I am developing an application with the .NET CF
and I wanted from withing my app to call the built in Notes
application, capture a note and save it to a predefined location.

Can anyone help me.
thanx in advance
 
You can launch Notes using a P/Invoke of CreateProcess or use the
OpenNETCF.Diagnostics.Process class in the Smart Device Framework
(www.opennetcf.org/sdf/).
e.g.

Process.Start("notes.exe")

You can also launch a specific note file using the command line e.g.

Process.Start("notes.exe","-doc '\My Documents\SomeNote.pwi");

I'm not sure there is a way to create a new file at a specific location -
though perhaps using the second example above with a path which does not
exist may create a new file...

Peter
 
Back
Top