A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Search Forums
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Showing results 1 to 25 of 25
Search took 0.31 seconds.
Search: Posts made by: OctopusThu
Forum: Add-ins for Outlook January 26th 07, 08:36 AM Posted to microsoft.public.outlook.program_addins
Replies: 1
Views: 1,219
Posted By OctopusThu
Problem with MAPIFolder.Items.Restrict(), C#, Outlook 2003 and ear

I have figured it out myself. Just use:

DateTime.ToString("yyyy-MM-dd HH:mm");

"OctopusThu" wrote:

I want to aquire all items in the folder that starts later than a specified
time. How can I...
Forum: Add-ins for Outlook January 25th 07, 07:15 PM Posted to microsoft.public.outlook.program_addins
Replies: 6
Views: 1,428
Posted By OctopusThu
How to add a menu item to AppointmentItem's right-click menu?

By the way, Ken, can you explain to me what Explorer and Inspector refer to
in Outlook? What's their difference?

Thank you very much!

"Ken Slovak - [MVP - Outlook]" wrote:

There is a hack coded...
Forum: Add-ins for Outlook January 25th 07, 04:21 PM Posted to microsoft.public.outlook.program_addins
Replies: 1
Views: 1,219
Posted By OctopusThu
Problem with MAPIFolder.Items.Restrict(), C#, Outlook 2003 and ear

I want to aquire all items in the folder that starts later than a specified
time. How can I use the Restrict method to achieve this?

In MSDN, there is a VB example:

sFilter =...
Forum: Add-ins for Outlook January 25th 07, 04:11 PM Posted to microsoft.public.outlook.program_addins
Replies: 6
Views: 1,428
Posted By OctopusThu
How to add a menu item to AppointmentItem's right-click menu?

Thanks a lot, Ken. I've been trying out the hack way of doing this.

"Ken Slovak - [MVP - Outlook]" wrote:

There is a hack coded at www.outlookcode.com for adding to an Explorer
context menu,...
Forum: Add-ins for Outlook January 23rd 07, 04:53 PM Posted to microsoft.public.outlook.program_addins
Replies: 6
Views: 1,428
Posted By OctopusThu
How to add a menu item to AppointmentItem's right-click menu?

That is to say I can BY NO MEANS add new items to the context menu in Outlook
2003?

"Ken Slovak - [MVP - Outlook]" wrote:

Outlook 2007 adds an Application.ItemContextMenuDisplay event. There's...
Forum: Add-ins for Outlook January 22nd 07, 09:52 AM Posted to microsoft.public.outlook.program_addins
Replies: 6
Views: 1,428
Posted By OctopusThu
How to add a menu item to AppointmentItem's right-click menu?

I want to add a menu item (a button) to AppointmentItem's right-click menu
(context menu).

I guess this can be done in the connect.cs of a COM Add-in?
Forum: Add-ins for Outlook December 21st 06, 05:47 AM Posted to microsoft.public.outlook.program_addins
Replies: 6
Views: 1,495
Posted By OctopusThu
How to detect a user-deleted AppointmentItem?

What is the "ItemAdd" that you mentioned?
And how to get the deleted Items folder?
Are all the deleted Items in the same folder? For example, the deleted
AppointItems and MailItems.

"Ken Slovak -...
Forum: Add-ins for Outlook December 20th 06, 05:08 PM Posted to microsoft.public.outlook.program_addins
Replies: 6
Views: 1,495
Posted By OctopusThu
How to detect a user-deleted AppointmentItem?

Thank you, Sue.
I can now cast the item.Parent property to an Outlook.MAPIFolder object, and
compare its EntryID with the former folder's EntryID, so as to determine
whether the item has been...
Forum: Add-ins for Outlook December 20th 06, 10:40 AM Posted to microsoft.public.outlook.program_addins
Replies: 6
Views: 1,495
Posted By OctopusThu
How to detect a user-deleted AppointmentItem?

I deleted an AppoitmentItem using the Outlook GUI. But still I can get the
AppointmentItem with the NameSpace.GetItemFromID() method. I guessed the
method should have returned a null value but I...
Forum: Add-ins for Outlook December 15th 06, 07:40 AM Posted to microsoft.public.outlook.program_addins
Replies: 2
Views: 2,815
Posted By OctopusThu
NameSpace.GetItemFromID() threw an exception

Thank you, Sue~

"Sue Mosher [MVP-Outlook]" wrote:

Use defaultFolder.StoreID, not defaultFolder.EntryID

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
...
Forum: Add-ins for Outlook December 14th 06, 09:04 AM Posted to microsoft.public.outlook.program_addins
Replies: 2
Views: 2,815
Posted By OctopusThu
NameSpace.GetItemFromID() threw an exception

I was trying to test the GetItemFromID() method with the following code:

Outlook._Application applicationObject = new Outlook.Application();
Outlook.NameSpace ns =...
Forum: Add-ins for Outlook December 14th 06, 07:13 AM Posted to microsoft.public.outlook.program_addins
Replies: 6
Views: 1,218
Posted By OctopusThu
How to modify an AppointmentItem?

I got it. Thank you very much, Ken.

"Ken Slovak - [MVP - Outlook]" wrote:

For any appointment check for IsRecurring. If it is recurring use the
GetRecurrencePattern method to get the...
Forum: Add-ins for Outlook December 13th 06, 04:26 AM Posted to microsoft.public.outlook.program_addins
Replies: 6
Views: 1,218
Posted By OctopusThu
How to modify an AppointmentItem?

Hi, Ken. Thanks for your help so far.
I've done some further tests and discovered that ONLY the "Start" and "End"
fields of an RECURRING AppointmentItem cannot be modified. Other fields of a...
Forum: Add-ins for Outlook December 12th 06, 05:47 PM Posted to microsoft.public.outlook.program_addins
Replies: 5
Views: 1,137
Posted By OctopusThu
How to acquire current Outlook.Application?

Sorry, this is wrong. The right answer should be the following:

To avoid security prompts, you need to use the Outlook.Application object
that the add-in architecture provides. In the shared add-in...
Forum: Add-ins for Outlook December 12th 06, 05:46 PM Posted to microsoft.public.outlook.program_addins
Replies: 6
Views: 1,218
Posted By OctopusThu
How to modify an AppointmentItem?

My Outlook was not of an English version, but the exception should be meaning:
"You do not have the authority(privilege) to move(modify) the item."

The MAPIFolder was the default folder acquired...
Forum: Add-ins for Outlook December 12th 06, 02:26 PM Posted to microsoft.public.outlook.program_addins
Replies: 5
Views: 1,137
Posted By OctopusThu
How to acquire current Outlook.Application?

I think I get it:

Outlook.Application applicationObject = new Outlook.Application()

This will do no matter Outlook has started or not.


"OctopusThu" wrote:

If Outlook has already started, I...
Forum: Add-ins for Outlook December 12th 06, 09:11 AM Posted to microsoft.public.outlook.program_addins
Replies: 6
Views: 1,218
Posted By OctopusThu
How to modify an AppointmentItem?

I got an AppointmentItem from an MAPIFolder and try to modify its fields. But
an exception occurred telling me that I had got no privilege to do this......

public void modifyItem(AppointmentItem...
Forum: Add-ins for Outlook December 11th 06, 09:58 AM Posted to microsoft.public.outlook.program_addins
Replies: 5
Views: 1,137
Posted By OctopusThu
How to acquire current Outlook.Application?

Where is this GetObject function you mentioned?

I'm using c# 2.0.

"Michael Bauer [MVP - Outlook]" wrote:


With the GetObject function.

--
Forum: Add-ins for Outlook December 10th 06, 03:08 PM Posted to microsoft.public.outlook.program_addins
Replies: 5
Views: 1,137
Posted By OctopusThu
How to acquire current Outlook.Application?

If Outlook has already started, I want to acquire its Application Instance,
i.e., an Outlook.Application object. How can I do this?
Forum: Add-ins for Outlook December 8th 06, 04:39 PM Posted to microsoft.public.outlook.program_addins
Replies: 2
Views: 1,080
Posted By OctopusThu
How to efficiently get an AppointmentItem by its EntryID?

Thanks a lot.
You have given a very clear explanation~

"Sue Mosher [MVP-Outlook]" wrote:

In both cases, use Namespace.GetItemFromID. In the first case, you know the StoreID from the MAPIFolder....
Forum: Add-ins for Outlook December 8th 06, 03:06 PM Posted to microsoft.public.outlook.program_addins
Replies: 2
Views: 1,080
Posted By OctopusThu
How to efficiently get an AppointmentItem by its EntryID?

There are two cases:
1、The AppointmentItem's MAPIFolder is known.
2、The AppointmentItem's MAPIFolder is unknown.

Thanks in advance.
Forum: Add-ins for Outlook November 11th 06, 04:55 AM Posted to microsoft.public.outlook.program_addins
Replies: 3
Views: 747
Posted By OctopusThu
How to get the ContactItems in a DistListItem?

Thanks for your help first, Dmitry.

I'm not quite familiar with the "Redemption" you mentioned. What namespace
is RDOAddressEntry in? I cannot find it in my MSDN library......

"Dmitry...
Forum: Add-ins for Outlook November 10th 06, 05:11 PM Posted to microsoft.public.outlook.program_addins
Replies: 3
Views: 747
Posted By OctopusThu
How to get the ContactItems in a DistListItem?

Using the method DistListItem.GetMember(int), I can only get the Recipients
in the Distribution List.
However, we know that when using Outlook, we can add Contacts other than
just Recipients to a...
Forum: Outlook - Using Forms November 9th 06, 06:14 PM Posted to microsoft.public.outlook.program_forms
Replies: 0
Views: 447
Posted By OctopusThu
How to get the ContactItems in a DistListItem?

Using the method DistListItem.GetMember(int), I can only get the Recipients
in the Distribution List.
However, we know that when using Outlook, we can add Contacts other than
just Recipients to a...
Forum: Outlook - Using Forms November 9th 06, 06:56 AM Posted to microsoft.public.outlook.program_forms
Replies: 1
Views: 381
Posted By OctopusThu
Exception occured when retrieving ContactItem in olFolderContacts

I'm using the following code to try to retrieve ContactItems in Outlook:

Outlook.MAPIFolder defaultFolder = applicationObject.GetNamespace
...
Showing results 1 to 25 of 25

 
Forum Jump

All times are GMT +1. The time now is 03:19 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright 2004-2025 Outlook Banter.
The comments are property of their posters.