 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Glenn Thimmes Guest
|
Posted: Mon Dec 06, 2004 7:21 pm Post subject: TAppointmentItem.Save not generating EntryID |
|
|
Hello,
I am having trouble with the TAppointmentItem for Outlook generating an
EntryID when I save it. It works fine if Outlook is open when my code runs.
But if Outlook is not currently running, the appointment object appears to
just get thrown on some kind of a queue until outlook is actually opened,
and the EntryID is just empty. This theory comes partly from the fact that
when I open Outlook, it takes a few seconds before this new appointment
appears on the calendar.
I've added an TOutlookApplication to my form and called connect before the
appointment is saved, but that did not fix the problem. Could this be
happening because we use Exchange server and Outlook cannot get an EntryID
for the appointment until Outlook is fully connected to Exchange?
Any suggestions would be most appreciated.
-Glenn
|
|
| Back to top |
|
 |
Dmitry Streblechenko Guest
|
Posted: Mon Dec 06, 2004 9:00 pm Post subject: Re: TAppointmentItem.Save not generating EntryID |
|
|
After creating an instance of the Outlook.Application object, do you
explicitly call Namespace.Logon?
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
"Glenn Thimmes" <GlennOfTheNoSpam (AT) nospam (DOT) com> wrote
| Quote: | Hello,
I am having trouble with the TAppointmentItem for Outlook generating an
EntryID when I save it. It works fine if Outlook is open when my code
runs.
But if Outlook is not currently running, the appointment object appears to
just get thrown on some kind of a queue until outlook is actually opened,
and the EntryID is just empty. This theory comes partly from the fact that
when I open Outlook, it takes a few seconds before this new appointment
appears on the calendar.
I've added an TOutlookApplication to my form and called connect before the
appointment is saved, but that did not fix the problem. Could this be
happening because we use Exchange server and Outlook cannot get an EntryID
for the appointment until Outlook is fully connected to Exchange?
Any suggestions would be most appreciated.
-Glenn
|
|
|
| Back to top |
|
 |
Glenn Thimmes Guest
|
Posted: Mon Dec 06, 2004 9:36 pm Post subject: Re: TAppointmentItem.Save not generating EntryID |
|
|
That did the trick for me. Thanks a lot for the help!
-Glenn
"Dmitry Streblechenko" <dmitry (AT) dimastr (DOT) com> wrote
| Quote: | After creating an instance of the Outlook.Application object, do you
explicitly call Namespace.Logon?
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
"Glenn Thimmes" <GlennOfTheNoSpam (AT) nospam (DOT) com> wrote in message
news:41b4b14c$1 (AT) newsgroups (DOT) borland.com...
Hello,
I am having trouble with the TAppointmentItem for Outlook generating an
EntryID when I save it. It works fine if Outlook is open when my code
runs.
But if Outlook is not currently running, the appointment object appears
to
just get thrown on some kind of a queue until outlook is actually opened,
and the EntryID is just empty. This theory comes partly from the fact
that
when I open Outlook, it takes a few seconds before this new appointment
appears on the calendar.
I've added an TOutlookApplication to my form and called connect before
the
appointment is saved, but that did not fix the problem. Could this be
happening because we use Exchange server and Outlook cannot get an
EntryID
for the appointment until Outlook is fully connected to Exchange?
Any suggestions would be most appreciated.
-Glenn
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|