ThreadLast AuthorMessages
read/total
Date
Determine where the user clicked on the calendar
morna
0 / 1 04 Apr
I have written a VSTO Outlook addin in VS2008 using Outlook 2007. I need to catch the "click" event for the date that a user has clicked upon on the screen. Does anyone know which even on which object (ActiveExplorer ???) that I need to catch in order to know the date that a user has selected from the currently displayed calendar? Thanks for your time. -Morna...
Changing the "Category" property on an Outlook.Appointment Item
morna
0 / 1 04 Apr
I have written a VSTO Outlook addin in VS2008. I can catch the Outlook.Appointment item within the ThisAddin.Item_Add event. I set the category of each item to an Outlook define category type. The category is saved correctly to the Outlook.Appointment item, however, at this point the Outlook.Appointment item has already been displayed within the Outlook Calendar, which mean the color of...
Talking to Outlook 2007 from SharePoint
Sue Mosher [MVP-Outlook]
0 / 2 04 Apr
Outlook has no web services, but Exchange 2007 does. Exchange documentation starts at http://msdn.microsoft.com/exchange/ with discussions in the microsoft.public.exchange.development newsgroup or on the Web at http://forums.microsoft.com/TechNet/ShowForum.aspx?ForumID=838&SiteID=17 . -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power...
Sending personalized invitations
regain
0 / 1 04 Apr
Hi all, We are facing the following problem: we try to send personalized invitations for a meeting. Each participant will receive an invitation with their own identification code. Unfortunately, we saw that Outlook does not offer this feature. So we try to circumvent it in the ItemSend event by: 1. creating a MailMessage object in the vcalendar format and sending it to each attendee...
New Mail Item Event
Neetu
0 / 6 04 Apr
Hey Ken, thanks a lot. "Ken Slovak - [MVP - Outlook]" wrote: > Sure. In Outlook 2007 you have a couple of things you can check: > > NameSpace.ExchangeConnectionMode > NameSpace.Offline > > Review the Object Browser help on those properties. > > -- > Ken Slovak > [MVP - Outlook] > http://www.slovaktech.com > Author: Professional Programming Outlook 2007 > Reminder Manager,...
script of custom form for shared calender doesn't run
sd
0 / 4 04 Apr
Thanks sue & Ken. script runs now....
IDTExtensibility2 based addin Will Not Unload if System.Timer
Ken Slovak - [MVP - O...
0 / 4 03 Apr
You can use ActiveInspector, but first check if Inspectors.Count > 0. It's because Outlook itself expects all calls from in-process applications (addins) to be running on the main thread and doesn't handle it well when calls to the object model aren't running on that thread. An example of doing that were earlier versions of the Apple ITunes calendar synch addin that called in on a...
VSTO and Outlook Event
Ken Slovak - [MVP - O...
0 / 2 03 Apr
You do it exactly the same way in VB.NET in a VSTO addin, you just use the Startup() event handler to initialize things. Make sure your declarations are at a class level and not at a procedural level so the objects don't go out of scope. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders,...
Disable button from addins Outlook 2007
Andrey_R
0 / 3 02 Apr
Thanks you very much....
Change the MiniIcon in a message
Sue Mosher [MVP-Outlook]
0 / 22 01 Apr
No. As I already explained in my earlier post, you would need to create a published custom form or register a form region, but form regions are for Outlook 2007 only. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "j" <Evgeny.Br@gmail.com> wrote in...
Cache Mode Issue
Sue Mosher [MVP-Outlook]
0 / 4 31 Mar
The security setting means that the add-in will run without prompts only if the administrator has a created a record in the Outlook Security Settings public folder to allow that. The fact that you get no prompts when running in full online mode suggests that such a record exists, but that it's not available for some reason when running in cached mode. I've seen reports of this before, but don't...
AVG add-in
SandyRitterStuff
0 / 2 31 Mar
Hi Jay, I now have the same problem....did you ever get it resolved? Sandy "jay" wrote: > Using windows xp. > I used a free version of AVG antivirus and changed to ZoneAlarm. Now > Outlook 2007 is giving me an error: “The add-in “AVG.Exchange.Extension” > cannot be loaded and has been disabled by Outlook. . . . . Please uninstall > add-in.” > Program Files has no...
Redemption RDO ICS SyncItems SQLRestriction
Dmitry Streblechenko
0 / 2 30 Mar
strSQLRestriction = "MessageClass = 'IPM.Note' " Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Ian-" <ian.bugeja@gmail.com> wrote in message news:3436ac8d-a528-423c-904d-9cb6aeffbabe@n58g2000hsf.googlegroups.com... >I am using Redemption to get the list of emails in a folder on > Exchange Server. For this i'm using ICS > >...
How to choose acount in Outlook 2007 in c#
SvenC
0 / 4 28 Mar
Hi Vlasta, > I tried to find somethink, but unfortunately I wasn't succsessful. > Can you give me some link with code sample? Please. > Thanks Vlasta How did you search? Try this: http://www.google.com/search?q=sendUsingAccount or http://search.live.com/results.aspx?q=sendUsingAccount Both show a sample on the first search result. -- SvenC...
Programatically Import Mail or Connect to Outlook on another Compu
Ken Slovak - [MVP - O...
0 / 2 27 Mar
You can't connect to Outlook on another machine unless you remotely log onto that machine first and then start Outlook as the user logged onto that machine. There is no Outlook way of doing what you want, but there are commercial applications that will synch copies of Outlook. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007...
Sms add-in
Sue Mosher [MVP-Outlook]
0 / 3 26 Mar
I bet this is the Microsoft add-in, which means it might be hard to get answers from the author. I don't know of any specific format requirement. It's also not clear whether the error is coming from Outlook itself or the add-in. I'd suggest just playing around with different numbers until you find what works. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming:...
Question about multiple instances of a MapiFolder object
reuce-google2@yahoo.de
0 / 3 25 Mar
> In cases like that you are probably best off resetting the MAPIFolder object > in your wrapper class to reflect the new item. You don't want to be holding > outdated references. You can add a public property to your wrapper class, > say called Folder and set that to the updated MAPIFolder object. Thanks for answering. I did as you said. But I simply was wondering about the general...
Recipients Object
Nir
0 / 3 25 Mar
Thanks!...
save prompt and form region
Ken Slovak - [MVP - O...
0 / 4 25 Mar
That would indicate that somehow a reference is being kept alive for that item, the release of that reference is allowing the item to be disposed of and that's what's causing the prompt to save on closing Outlook. I don't know if the reference is being kept alive by your ActiveX control or by some other code in your addin but that has to be it. If your control is changing settings in...
get recipients list immediately
Ken Slovak - [MVP - O...
0 / 2 25 Mar
Try saving the item in your button event handler. That should update the item and provide the correct Recipients collection. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "shubhangi" <shubhangi@implicitweb.com> wrote in message...
Needs to add Add-In on Appointment form
Ken Slovak - [MVP - O...
0 / 5 25 Mar
Do you want your UI only in open Appointment items? For Outlook 2007 you would want to use the ribbon then instead of the CommandBars collection. The templates I have do have ribbon code in the InterfaceHandler class. My template only handles new mail items, for appointments you would use: case "Microsoft.Outlook.Appointment" to provide the ribbon XML in the GetCustomUI(string...
Visual Studio Express 2008 with Templates for Outlook?
Ken Slovak - [MVP - O...
0 / 2 24 Mar
To my knowledge the Express editions can't create Office COM addins, but I haven't used any of the Express editions so I'm no expert. You're probably best off posting this in a forum devoted to Visual Studio where there would be more expertise in the different editions of VS 2008. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007...
Vb.Net = C# for 2007 Add-in?
Ken Slovak - [MVP - O...
0 / 2 24 Mar
The end result is the same but every language is somewhat different than other languages. Each does things differently and has different syntax. I program in both languages as needed. Pick the one you're most comfortable with. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment...
Invalid index. (Exception from HRESULT: 0x80020008 (DISP_E_BAD
Ken Slovak - [MVP - O...
0 / 7 24 Mar
Well, if your addins are causing the problem then they aren't written correctly. You need to stop using them or fix them. You haven't provided any details at all as to your Outlook version, how your addins were written or anything else, so it's hard to say what's wrong or where your addins are causing problems. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author:...
Deploying Outlook 2007 addin
Ivica Muruzovic
0 / 6 24 Mar
I resolve this problem by creating another Test certificate Hope this will help On Sun, 23 Mar 2008 03:45:05 +0800, "Benny Ng" <benny.ng@rattansoft.com> wrote: >Thank you very much. > >I'm also looking for this information.:) > >Benny Ng > >"Sue Mosher [MVP-Outlook]" <suemvp@outlookcode.com> wrote in message >news:%23Z0OUf4gIHA.4744@TK2MSFTNGP06.phx.gbl... >You might start at...
how to work with metting request
Ken Slovak - [MVP - O...
0 / 2 20 Mar
Search on www.outlookcode.com for MeetingItem and look at the information in the Forms section for more on using MeetingItem objects and forms. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Mauro Batista" <Mauro...
The operational fail
Ken Slovak - [MVP - O...
0 / 4 20 Mar
So wait for Outlook to completely close down before opening it again. That's a PEBKAC problem (problem exists between keyboard and chair), not a coding problem. Managed code addins take longer to fully close down and allow Outlook to shut down than unmanaged code addins. That's just the nature of the beast. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author:...
Creating a custom appointment when user drag/drops task
Ken Slovak - [MVP - O...
0 / 4 19 Mar
When the appointment item opens just change its MessageClass to the message class of your custom form, which must be published. You can trap the NewInspector event of the Inspectors collection for that or if using Outlook 2007 you can use the ItemLoad event or other events. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007...
Reference to object are not being released
Ken Slovak - [MVP - O...
0 / 2 19 Mar
You really need to provide more information when you post with a problem. You should provide the Outlook version, the platform and language you used and show a short snippet of your code. Is this a WinForms form? In the form code are you releasing any objects you created in the form in the dispose code? Are you releasing any handles to the form and the UI you created and the item...
Junk Email Reporting Tool
Chris
0 / 2 17 Mar
I ran into this issue as well, and by accident I reproduced the issue for another plug-in and was able to figure out how to enable the plug-ins. Micorsoft put this is in a very strange place. 1. Open Outlook 2. Click on the Help Menu -> About Microsoft Office Outlook 3. Click on the Disabled Items... button at the bottom of the dialog box 4. Select the plugins that you want to...
Create a Contact item using MAPI
Dmitry Streblechenko
0 / 2 16 Mar
Look at an existing contact with MFCMAPI or OutlookSpy (click IMessage). Youy might also want to look at http://www.cdolive.com/cdo10.htm Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Ivan" <Ivan@discussions.microsoft.com> wrote in message news:473EF7CE-DB7B-4A7E-AB49-8458A6E49D85@microsoft.com... > I'd like to create a...
Load add-in on Outlook 2003 startup
goran
0 / 23 14 Mar
Thanks. "Ken Slovak - [MVP - Outlook]" wrote: > How would I know what you need CDO for? Are you using it at all? If not you > don't need it. > > CDO is even more security restricted than the Outlook object model. > > -- > Ken Slovak > [MVP - Outlook] > http://www.slovaktech.com > Author: Professional Programming Outlook 2007 > Reminder Manager, Extended Reminders, Attachment...
Help with outlook appointments
Sue Mosher [MVP-Outlook]
0 / 4 14 Mar
In Outlook 2007, you can use the new Folder.BeforeItemMove event to detect when the user is trying to delete an appointment or move it to another folder and then take appropriate action. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Al" <Al@discussions....
Standard/Best Practice For Multi-Lingual Add-in Development
Jonathan
0 / 3 13 Mar
Thanks Ken. "Ken Slovak - [MVP - Outlook]" <kenslovak@mvps.org> wrote in message news:OlwA9OEhIHA.1168@TK2MSFTNGP02.phx.gbl... > Of course there is, how you do it depends on what language platform you use > to develop your addin. For unmanaged code you can use a resources file with > different columns, one column for each language you intend to support. For > managed code you can...
Network and/or Exchange connection up/down notification event
Sue Mosher [MVP-Outlook]
0 / 2 13 Mar
Microsoft provides the Offline State API (C++ or Delphi only) for that purpose; see http://www.outlookcode.com/article.aspx?ID=37 for links. For a sample add-in, see http://msdn2.microsoft.com/en-us/library/cc160694.aspx -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article....
Adding and setting appointments in Outlook using C#
Ken Slovak - [MVP - O...
0 / 2 13 Mar
What do you mean alter the color? What version of Outlook? You can add appointments to any calendar folder, default or non-default. Just use the Items.Add() method of that folder's Items collection. You can navigate to the folder using NameSpace().Folders. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager,...
Your server administrator has limited the number of items you
Johan Verrept
0 / 4 13 Mar
Does that work correctly with the foreach loop? Johan "Jake Peters" wrote: > You can also use Marshal.ReleaseComObject(app) when you are done with the item...
What is going on here
Sue Mosher [MVP-Outlook]
0 / 2 12 Mar
That statement takes the item displayed in an Inspector window and attempts to cast it as an Outlook.MailItem to an object named Item. If successful, the addresses for the item displayed in the Inspector will be available through the Item.Recipients collection. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators...
Opening a CAlendar Item with PR_Entry_ID
Dmitry Streblechenko
0 / 5 12 Mar
What named property? You are reading the value of PR_ENTRYID. Whether a message comes from a default folder or not, makes no difference. Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "PS" <pratikrshah@gmail.com> wrote in message news:e72d6cbc-dfbb-472b-a0f7-41c50a77a647@e6g2000prf.googlegroups.com... > Hi All > > I have a...
Closing Inspector window in Item_Send Event
Ken Slovak - [MVP - O...
0 / 2 11 Mar
That's guaranteed to crash either Word or Outlook or both. I usually set a timer to fire a few milliseconds after Item_Send ends. The timer event handler then closes the Inspector window. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products....
Outlook Connector not working...
Carlos Sosa Albert
0 / 1 10 Mar
Hi guys, Outlook Connector making me crazy... It worked two or three times, but most of the time it just says: Error in Mail There is an error synchronizing your mail account. Please verify your account has been configured correctly by first accessing your mail on the web. Error: 4350. Nothing else. I tried different accounts, reinstalling Outlook Connector, I've even...
MessageClass and Custom Outlook Form issue
IceKettle
0 / 2 10 Mar
...
Address Book dialog focus issue
Tom
0 / 8 08 Mar
Hi Dmitry, Well I found the problem. I did the old fashion method of commenting out code until you get the expected behavior. With our custom dialog we are creating a custom caption (titlebar) and handling some of the Non Client messages. As it turns out I was returning a FALSE (zero) for the WM_NCACTIVATE message which was screwing up the activation logic. Actually I had reviewed...
Mass extraction of email addresses from emails
VeloAsia
0 / 3 07 Mar
DS Development has an app called Email Address Collector which is one of the best I've tried. Mark, good to hear about your script, but it's all Greek to me... "tdstr" wrote: > Outlook 2003 > > I'm curious if anyone knows of a addin that will allow extraction of > email addresses from individual emails and export them into a Excel > spreadsheet. >...
Create custom public folders in Exchange 2003
Pier
0 / 3 06 Mar
OK, the problem is getting the right CN name to use in ActiveDirectory but unfortunately folders ends up renamed in AD. cheers "Ken Slovak - [MVP - Outlook]" wrote: > As far as I know that would have to be done using server side code, > accessing the AD to mail enable the folder. > > -- > Ken Slovak > [MVP - Outlook] > http://www.slovaktech.com > Author: Professional...
Search Documents from SharePoint Server and display outlook wi
Ken Slovak - [MVP - O...
0 / 4 06 Mar
Yes, there are specific additions to the object model in Outlook 2007 that help with SharePoint accesses. One is NameSpace.CreateSharingItem(), another is NameSpace.OpenSharedFolder(). Folder.IsSharePointFolder is a boolean that helps identify SharePoint folders, for example. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007...
Find out what user clicked on: 'Reply' or 'New'
Naji
0 / 3 04 Mar
Thank you so much for your answer. GOD bless you. I tried your suggestion and it worked perfectly. Please accept my regards. Thank you again! "Sue Mosher [MVP-Outlook]" wrote: > At the time it is created, a reply always has Recipients.Count > 0 and a non-blank Subject property. A forward has a non-blank Subject and body, but Recipients.Count = 0. A completely new item has blank...
How to know which MailItem I am replying/forwarding?
Ken Slovak - [MVP - O...
0 / 7 04 Mar
Here's what Dmitry meant. Say the Selection collection has 3 items selected. You instantiate 3 separate object variables and subscribe to the Reply, ReplyAll and Forward events for each of those items. That way you know if the user took one of those actions on the selected items. If Selection changes a subscription to the SelectionChange event will tell you that, you release the...
programmatically Disable addin
shubhangi
0 / 5 04 Mar
Thanks again You are right,the loadbehavior resets again to 3 though Application.COMAddIns.Item("MyAddIn").Connect=False. is given in Application_Startup as Form region related entries are present in registry. I removed the form region related entries from registry if licence evaluation failed & added the same if licence evaluation succeeded as per ur suggestion.Now the addin remains...
How to avoid to delete or open messages ??
Ken Slovak - [MVP - O...
0 / 2 03 Mar
The best way to prevent people from deleting items in your custom folder is to set the permissions on the folder so no one can delete items there except for certain admins. That's possible if the folder is in an Exchange store, you'd use ADSI code or something like that to set the permissions on the folder, or if you use Redemption you can use the ACL and ACE objects for the folder....
All times are in (US) Eastern Daylight Time (GMT -4:00)