srhartone
Fri Jun 27 13:46:01 CDT 2008
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
"juvi" wrote:
> 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
>
> "Simon Hart [MVP]" wrote:
>
> > 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.
> > --
> > Simon Hart
> > Visual Developer - Device Application Development MVP
> >
http://simonrhart.blogspot.com
> >
> >
> > "juvi" wrote:
> >
> > > 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