documentation existing for possible arguments??

J

juvi

hello,

Is there a documentation existing for common programs like calendar.exe,
poutlook.exe.... which arguments they can take?

I would need to open the calendar add new appointment directly if possible
with arguments. And other functions I will also need so a doc. would be
perfect.

thx
juvi
 
S

Simon Hart [MVP]

Adding appointments can be done using the
Microsoft.WindowsMobile.PocketOutlook SDK for WM5 and onwards. With word
there's no API/SDK, you might try passing a path to a file as an argument to
open it not sure if this will work.
 
J

juvi

thank you for your reply.

this would add appointment by code....I would only need to open the form
used by calendar.exe for new appointment with arguments if possible.

I have now also the problem that I do not find the "contacts" exe and is it
possible to pass an filepath argument to file explorer?

thx
 
S

Simon Hart [MVP]

You can open a blank appointment using something like the following:
Microsoft.WindowsMobile.PocketOutlook.Appointment a = new Appointment();
a.ShowDialog();

This will show default parameters.

You can load the contracts screen with something like the following:
System.Diagnostics.Process.Start("poutlook.exe", "contacts");
--
Simon Hart
Visual Developer - Device Application Development MVP
http://simonrhart.blogspot.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top