Don't send appointment invitation

M

MarsDude

Hi all,

I'm not programming in VBA, but I understand (more or less) an
examples. I'm trying (thru OLE), to create a new appointment, which i
working fine. I also have a recipient for that appointment. It turns u
fine in Outlook. The 'problem' is, that when I open the appointment i
outlook and want to close it again, it always tells me it wasn't sen
yet and if I would like that.

I DON'T want that. There is a button in the outlook appointment scree
with which I can cancel the invitation (i hope I get all th
translations right, I'm working with the dutch version of Outloo
2000), whicht prevents it from being sent and prevents the questio
asked a next time.

Can I 'push' that button programmatically? Or is there a property I ca
set or something? The 'Sent' property is read only, so it's not muc
use. And I can't use the 'contacts' part of the form for the attendees
because Pocket Outlook doesn't have that part.

And what would be the best way to get the recipient's unique ID for a
existing appointment? As the addressentry's entryID isn't the same a
the entryID of the contact.

I would appreciate all the help hints tips etc you can give.

regards,

Marce
 
M

MarsDude

I've solved part of my problem. I just set de MeetingStatus t
olNonMeeting and that did it :) It just still asks when I open th
'imported' appointment, whether I would like to save the changes when
close it... but no changes have been made.

Only problem left is the recipient/attendees thing.

The contacts in Outlook have a UserProperty, let's call it "MyAppID"
which is... yes... the ID they have in the application.

When I make an appointment in Outlook and I select a contact (one wit
that userproperty), then how do I find that MyAppID back through OLE?

Because when I get the addressentries for that appointment, the entryI
for one of those is different from the entryID of the 'original
contact. So how do I go from a addressentry to the original contact?

Thanx in advance,

Marce
 

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