[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.interop

Repost: Outlook 2007: How do I find GlobalObjectID?

M O J O

10/24/2007 5:27:00 AM

Hi,

I'm using vb.net 2005 and I'm trying to send an email, get the
GlobalObjectID, find the sent email by the GlobalObjectID .... but I
don't know how.

I know that the GlobalObjectID is not an exposed property (yet) and I
have no clue on how to use it then.

Do you have an example??? ... how do I from vb.net get the
GlobalObjectID property?

Thanks!
M O J O
6 Answers

jialge

10/25/2007 7:11:00 AM

0

Hello M O J O,

I feel sorry for my delayed response due to an unexpected broken issue of
newsgroup system. In the meantime, I notice that you once posted the same
question at
http://msdn.microsoft.com/newsgroups/managed/default.aspx?dg=micro...
c.dotnet.framework.interop&tid=3bc0b33f-daac-40f1-9c85-934a508e7182&m=1&p=1
http://msdn.microsoft.com/newsgroups/managed/default.aspx?dg=micro...
c.dotnet.framework.interop&mid=614df44a-8e97-4b17-8d17-95a9f848bb11&sloc=en-
us
But we did not capture them in time. My guess is that your Managed
Newsgroup account did not take effect at the time, and we failed to get
them. We feel sorry for the inconveniences.

From this post, my understanding on this issue is: you want to know how to
get the global id of a mail item. If I'm off base, please feel free to let
me know.

I think the 'GlobalOjbectID' in your question might refers to the property
'EntryId'. When a mail item is stored in a folder of exchange server, it
will have a unique ID. But when the mail item is moved to another folder,
it ID may be changed. Therefore, when you are sending an email, it will
have an ID when it is in Drafts folder (not sent out yet), but when it sent
out and moved into Sent folder, it will have another EntryID.

If you have any other concern or need anything else, please feel free to
let me know.

Sincerely,
Jialiang Ge (jialge@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
For MSDN subscribers whose posts are left unanswered, please check this
document: http://blogs.msdn.com/msdnts/pages/posting...

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default....
ications. If you are using Outlook Express/Windows Mail, please make sure
you clear the check box "Tools/Options/Read: Get 300 headers at a time" to
see your reply promptly.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/de....
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

M O J O

10/25/2007 7:46:00 AM

0

Hi again Jialiang,

Please take a look at this...

http://support.microsoft.com/...

I just can't figure out how to get the GlobalObjectID using Interop.

I both need to get the ID from a newly created Appointment and later be
able to find it.

Thanks,

M O J O

Jialiang Ge [MSFT] skrev:
> Hello M O J O,
>
> I feel sorry for my delayed response due to an unexpected broken issue of
> newsgroup system. In the meantime, I notice that you once posted the same
> question at
> http://msdn.microsoft.com/newsgroups/managed/default.aspx?dg=micro...
> c.dotnet.framework.interop&tid=3bc0b33f-daac-40f1-9c85-934a508e7182&m=1&p=1
> http://msdn.microsoft.com/newsgroups/managed/default.aspx?dg=micro...
> c.dotnet.framework.interop&mid=614df44a-8e97-4b17-8d17-95a9f848bb11&sloc=en-
> us
> But we did not capture them in time. My guess is that your Managed
> Newsgroup account did not take effect at the time, and we failed to get
> them. We feel sorry for the inconveniences.
>
> From this post, my understanding on this issue is: you want to know how to
> get the global id of a mail item. If I'm off base, please feel free to let
> me know.
>
> I think the 'GlobalOjbectID' in your question might refers to the property
> 'EntryId'. When a mail item is stored in a folder of exchange server, it
> will have a unique ID. But when the mail item is moved to another folder,
> it ID may be changed. Therefore, when you are sending an email, it will
> have an ID when it is in Drafts folder (not sent out yet), but when it sent
> out and moved into Sent folder, it will have another EntryID.
>
> If you have any other concern or need anything else, please feel free to
> let me know.
>
> Sincerely,
> Jialiang Ge (jialge@online.microsoft.com, remove 'online.')
> Microsoft Online Community Support
>
> ==================================================
> For MSDN subscribers whose posts are left unanswered, please check this
> document: http://blogs.msdn.com/msdnts/pages/posting...
>
> Get notification to my posts through email? Please refer to
> http://msdn.microsoft.com/subscriptions/managednewsgroups/default....
> ications. If you are using Outlook Express/Windows Mail, please make sure
> you clear the check box "Tools/Options/Read: Get 300 headers at a time" to
> see your reply promptly.
>
> Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
> where an initial response from the community or a Microsoft Support
> Engineer within 1 business day is acceptable. Please note that each follow
> up response may take approximately 2 business days as the support
> professional working with you may need further investigation to reach the
> most efficient resolution. The offering is not appropriate for situations
> that require urgent, real-time or phone-based interactions or complex
> project analysis and dump analysis issues. Issues of this nature are best
> handled working with a dedicated Microsoft Support Engineer by contacting
> Microsoft Customer Support Services (CSS) at
> http://msdn.microsoft.com/subscriptions/support/de....
> ==================================================
> This posting is provided "AS IS" with no warranties, and confers no rights.
>

jialge

10/25/2007 9:09:00 AM

0

Hello M O J O

Sorry for my misunderstanding of Global Object ID at the very beginning.
Although the KB http://support.microsoft.com/... says that

"The Outlook object library has not been updated to expose this property.
The following samples are code samples that illustrate how to access the
Global Object ID on an appointment item by using the CDO 1.21 object
library or Extended MAPI (requires C++)."

It only applies to Office 2003 and earlier. In Office 2007, it has already
been built into Outlook 2007 object model, and we do not need to use CDO
1.21 library or Extended API.

To get the global object ID in Outlook 2007, we could use the property:
AppointmentItem.GlobalAppointmentID. For details about it, please refer to
the MSDN article:
http://msdn2.microsoft.com/en-us/library/bb2...

To find an appointment object according to the global object ID, we could
use the Outlook.Items.Find method:
http://support.microsoft.com...
In the criteria (the parameter of Find method), we could specify it as
"[GlobalAppointmentID]='**********']"
In which ********* is the global object ID string.

Please have a try and let me know the result. If you have any other concern
or need anything else, please feel free to let me know.

Sincerely,
Jialiang Ge (jialge@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

=================================================
When responding to posts, please "Reply to Group" via your newsreader
so that others may learn and benefit from your issue.
=================================================
This posting is provided "AS IS" with no warranties, and confers no rights.


jialge

10/25/2007 9:14:00 AM

0

Hello M O J O

Sorry for my misunderstanding of Global Object ID at the very beginning.
Although the KB http://support.microsoft.com/... says that

"The Outlook object library has not been updated to expose this property.
The following samples are code samples that illustrate how to access the
Global Object ID on an appointment item by using the CDO 1.21 object
library or Extended MAPI (requires C++)."

It only applies to Office 2003 and earlier. In Office 2007, it has already
been built into Outlook 2007 object model, and we do not need to use CDO
1.21 library or Extended API.

To get the global object ID in Outlook 2007, we could use the property:
AppointmentItem.GlobalAppointmentID. For details about it, please refer to
the MSDN article:
http://msdn2.microsoft.com/en-us/library/bb2...

To find an appointment object according to the global object ID, we could
use the Outlook.Items.Find method:
http://support.microsoft.com...
In the criteria (the parameter of Find method), we could specify it as
"[GlobalAppointmentID] = '**********'"
In which ********* is the global object ID string.

Please have a try and let me know the result. If you have any other concern
or need anything else, please feel free to let me know.

Sincerely,
Jialiang Ge (jialge@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

=================================================
When responding to posts, please "Reply to Group" via your newsreader
so that others may learn and benefit from your issue.
=================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

M O J O

10/25/2007 11:19:00 AM

0

Hi Jialiang,

Thank you so much ... I will study your post and try it out.

Thanks for helping me! :o)

Kind regards
M O J O

Jialiang Ge [MSFT] skrev:
> Hello M O J O
>
> Sorry for my misunderstanding of Global Object ID at the very beginning.
> Although the KB http://support.microsoft.com/... says that
>
> "The Outlook object library has not been updated to expose this property.
> The following samples are code samples that illustrate how to access the
> Global Object ID on an appointment item by using the CDO 1.21 object
> library or Extended MAPI (requires C++)."
>
> It only applies to Office 2003 and earlier. In Office 2007, it has already
> been built into Outlook 2007 object model, and we do not need to use CDO
> 1.21 library or Extended API.
>
> To get the global object ID in Outlook 2007, we could use the property:
> AppointmentItem.GlobalAppointmentID. For details about it, please refer to
> the MSDN article:
> http://msdn2.microsoft.com/en-us/library/bb2...
>
> To find an appointment object according to the global object ID, we could
> use the Outlook.Items.Find method:
> http://support.microsoft.com...
> In the criteria (the parameter of Find method), we could specify it as
> "[GlobalAppointmentID] = '**********'"
> In which ********* is the global object ID string.
>
> Please have a try and let me know the result. If you have any other concern
> or need anything else, please feel free to let me know.
>
> Sincerely,
> Jialiang Ge (jialge@online.microsoft.com, remove 'online.')
> Microsoft Online Community Support
>
> =================================================
> When responding to posts, please "Reply to Group" via your newsreader
> so that others may learn and benefit from your issue.
> =================================================
> This posting is provided "AS IS" with no warranties, and confers no rights.
>

Fustigator

2/4/2011 4:05:00 PM

0

Vitae forma vocata "Victal" <victallen@sympatico.com> , die Fri, 28
Jan 2011 16:35:13 -0500, in littera <qEG0p.422$0S6.365@newsfe09.iad>
in foro soc.culture.belgium(et aliis) vere scripsit quod sequitur:

>Fustigator wrote:
>> aujourdhui: 601 posts insultants ? mon ?gard de la part de la dingue
>> de St Gilles. j'ouvre une bouteille de cava (le champagne sera quand
>> la barrre de 1000 sera atteinte) que je boirai en rigolant, ce avec
>> ma femme et un de mes jeunes m?nages qui arrive ici ce soir.
>>
>> Pendant ce temps la pisseuse en question se morfondra dans sa
>> solitude.
>
>Je ne suis plus seul a ce que je vois

non, en effet.
Jean 15: 18-28
--

Fusti