Michael Bauer [...0/8 20 Aug 2009
hi i am uisng "Microsoft Outlook 11.0 Object Library" as refernce and want to cerate new appointment in outlook 2003 with custom category and with different color(label) in outlook 2007 it is there with name sapce in that machine i am able to cerate category and it is working properly if (oNS.Categories["my cat"] == null) { oNS.Categories.Add("my cat", Microsoft.Office.Interop.
Ken Slovak - [M...0/2 20 Aug 2009
Hello, I'm trying to read existing categories from the registry. According to http://www.slipstick.com/outlook/olcat.asp the categories are stored in HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook \Categories. At first this key doesn't even exist. But when I use the Outlook Built in category manager to add a category to the master list the whole list suddenly appears in the
sd0/5 20 Aug 2009
hello I've VSTO Addin for Outlook 2007. I'm adding a dummy attachment in BeforeAttachment event & removing original attachment. But the attachment list still shows me original attachment along with dummy attachment. Besides this when I drag drop or insert attachment the cursor position changes. I also need to insert a link at current cursor position.so the cursor position should not
Ken Slovak - [M...0/5 19 Aug 2009
Hello, I'm trying to set the MAPI property PR_MESSAGE_DELIVERY_TIME of a PostItem because I can't manage to set the "Received Date" on the Outlook-Object. So I create the PostItem item, get a MapiItem from that, close the initial PostItem (I heard it would reset any dates when the item is still open) and set the property. But I can't manage to set a proper date. The line looks like
Sue Mosher [MVP...0/8 19 Aug 2009
Hi, in Outlook 2007 I now managed it to add user properties to my item and to the folder. Now I was a bit disappointed to see that in the Field chooser of the view of the folder my user property is listes with the property name and that the new Column in the view also has this name as title. Don't Userproperties have a display name that can be set?? If not that's not god for
len0/1 19 Aug 2009
Does anyone know how to retreive the activation key for the ProWrite Pro version? I restored my PC from a crash last month & when I re-installed the ProWrite software, it gave me the 15 day trial. I bought this in 2004 & cannot find the activation key. ANY SUGGESTIONS??
Ken Slovak - [M...0/4 19 Aug 2009
I am adding one user property to an email in outlook 2007 using VSTO Addin. When I close Outlook application It asks me, "Do you want to save changes?". Can I avoid this prompt? API I used : prop = MailItem.UserProperties.Add("TestProp" , Outlook.OlUserPropertyType.olText , false
Ken Slovak - [M...0/9 19 Aug 2009
Hi, I included the reminder checkbox on my form region. When I create now an iterm in my Folder where I defined my Form as defult and try saving the item with the checkbox enabled I get the message: "Reminder will not be displayed, because reminders are nor supported in this folder. Do you agree? Yes/No" (Translation from the German message) What do I have to do that my folder
Ashish0/16 18 Aug 2009
Is it possible to edit mail right pane in outlook addin? When select a mail in outlook right pane shows its field like subject,date body,attachments etc. Can we show some extra information in right pane when select a mail. Which event is call when show right pane(select mail) for any mail
Ken Slovak - [M...0/2 17 Aug 2009
Is there a ribbon control support to do the following? 1. getImage which can set its image. 2. Read-only property, while mouse is hovering on it, only show tip text, no state change like label control(if it is a button its background will change to orange which different from other buttons not mouse hovering.) If button control have read-only propery, it can do the work. Or lable control
Teodora Ganchev...0/9 17 Aug 2009
Hi, I have a C# COM Add-in for Outlook 2007 that adds categories to mail messages programmatically. I use mapiNameSpace.Categories.Add method to add the category to the Master Category List and the Categories property of the MailItem to assign the category to the mail. This works fine and the category is successfully added to the mail and to the Master Category List. However, when
Ashok0/12 16 Aug 2009
Using VSTO and C# anyone know how to get a listing of available mailboxes a user has on his default profile? I would imagine this to be simple.. -- OutlookNewBie11
ye_xiao_juan0/1 14 Aug 2009
Çë¸÷˝çÖ§łÖŐß, ¸řÎŇÁŞĎľŇťĎÂ. ҜЌžę
Glenn Welker0/3 14 Aug 2009
Long time developer of addins but have been out of development for three years. Last experience was with VB6 and was fairly painless. Forgive me for asking multiple questions. It seems that they are all essentially the same topic. I have no interest in using VB6 at this point but I need advice on how to move forward into .NET. I am confused as to my options. Targets currently are
escamoteur0/3 13 Aug 2009
Hi, before running in the wrong direction I hope you can give me some advice. I have choosen the Task item as base for my custom item / Inspektors. I will replace the whole form region. Now several fields of the task item solve almost the same purpose as I would need them in my Application but the names just don't fit. Ok, I can rename the Fields description on the Form, but what is
Ken Slovak - [M...0/2 12 Aug 2009
I am writing a plug-in for outlook using VSTO in which I want a toolbar button to be enabled only when one or more email messages are selected, and disabled/grayed otherwise. For which I need the event as soon as a message is clicked, and as soon as a selected message is deselected. Does VSTO expose such an event.
Sue Mosher [MVP...0/3 11 Aug 2009
I wrote an outlook 2007 add-in that brought up a WPF window w/ fields to fill out, and when you clicked the create e-mail button, it created an e-mail based on the contents of the form. The problem lies in that it is bringing up almost a "generic" e-mail -- it doesn't have my signature on it, if Microsoft CRM is loaded it won't have the 'track in crm' listed -- it's almost as if it
Ken Slovak - [M...0/9 10 Aug 2009
Hi, I am developing a new Outlook addin that adds a new form region to the reading pane and the inspector windows. I noticed that the advise() call I make to hook up the events for the fields on my form result in a QueryInterface of my Sink Object which results in its ref count being increased, but I never see a Release() call come back for my event object. How do I know when I
Ken Slovak - [M...0/4 10 Aug 2009
I'm adding a custom form region for Outlook 2007 and it's working great. Since Outlook 2003 and below doesn't support form regions I am planning on popping up a modal dialog box to accomplish the same thing that my custom form region does for 2007. I was hoping to use the Outlook::ExplorerEvents::SelectionChange() event to pop the modal dialog box. However, at the time this event is
Ken Slovak - [M...0/4 10 Aug 2009
I have a group of 4 Outlook::OlkOptionButton's that I want to make tri-state. By tri-state I mean I want the user to be able to select either 0 or 1 of the 4 buttons. If he clicks on a button that is already set, it should turn off the button and then 0 of the buttons would be selected. Is that possible? Do I need to use a different button type?
sd0/1 10 Aug 2009
hello I've placed .Net custom control on form region adjoined to message form.The region is displayed but whenever I make any change to UI ,I need to design the form region file each time.Previously the custom control was in vb6 & I was not required to redesign the form region file each time I made some change to UI of custom control.Is there any way to avoid this redesigning? I've
Sue Mosher [MVP...0/4 10 Aug 2009
Hi, user data that is stored as user properties in an item is stored IN this item independ if the same user property is defined in the folder. I need the additional definition of properties in the folder with the same names if I want to use filters and to display these data in a view? Correct?? The user properties stay with the item even when I move it to a different folder.
escamoteur0/3 10 Aug 2009
Hi, which is the better way to store user data in an outlook item? (in Outlook 2007) To use user properties of the item or to add a hidden attachment and to read and store the form data in there when opening / closing the form. Best Tom
escamoteur0/5 09 Aug 2009
Hi, is a beginners question, but can I preview a completly new designed Form Region from the Form Designer or can it only be displayed from my addin?? Best Tom
Dmitry Streblec...0/5 09 Aug 2009
Hi, Im using VSTO to build an add in for Outlook 2007. The problem In my add in is that I need to know which permissions the users has. For example: I need to know if the user has permission to "Send As" and I need to get this information runtime in code. After spending more time I intended to learn this by searching I now hope that someone here has an answer.
escamoteur0/6 07 Aug 2009
Hi, I want to add to my custom inspector form a combobox that contains values that the user can define. E.g. Project status. If Outlook were a relational database I would store this values just in it's own table and populate the combobox from there. How is the best way to achieve this in Outlook?? Best Tom
squallcpp via O...0/3 06 Aug 2009
As we know, when we type a letter in the richedit control (class name is RichEdit20WPT)of outlook email recipient, there will be a dropdown list contain some contacts for choosing. Here comes the problem: If I insert a a user-define oleobject(such as a image object) into this richedit, the above functions will gone. any ideas about this issue thanks squall -- Message
squall0/1 06 Aug 2009
Hi,I need to use the IRichEditOleCallback callback interface for some requirements, such as, when you type email can recognise a contact user,then outlook will create a OleObject(Recipient)and insert it into richedit controls,so before insertion,the IRichEditOleCallback::QueryInsertObject will be called,so I could add a image object just next it. I think this is the normal way to
Ken Slovak - [M...0/2 06 Aug 2009
Hello, from http://groups.google.de/group/microsoft.public.developer.outlook.addins/browse_thread/thread/cede296905fc6b98/dfd4c56c228bd34f?hl=de&ie=UTF-8&q=outlook+folder+icon+change#dfd4c56c228bd34f I learned it's not easy to change the icon of a folder. My client however really would like that feature in the add-in. Scott thinks that it's possible by either one of the following ways:
Ken Slovak - [M...0/18 06 Aug 2009
Hi all. I develop vsto addIn 2005, OL 2003, C# 2.0 One of my customer sometime got comException --> System.Runtime.InteropServices.COMException (0xB174010F): The operation failed. at Microsoft.Office.Interop.Outlook.MAPIFolder.get_Name() In the code we try to get Folder's name. Why this happen?? How can i recover from this error?? (otlook restart helps, but this is not
rwrench@gmail.c...0/1 05 Aug 2009
We are developing an Outlook add-in with VS 2008 3.5. We have developed a custom contact form in WPF that modifies the contact object via a custom form region. We are trying to date and time stamp the Body property - however, we are getting an COMException error. 1) Is there any way to trap COM exception errors? 2) Where can we change the body property, if not in the form region?
Ken Slovak - [M...0/8 04 Aug 2009
Folder move event does not give the correct path for folder name. Suppose there is a under Inbox say inbox_Child. In outlook when i move inbox_Child under draft folder then item_add event is called which shows the path for inbox_Child as Inbox/inbox_Child(paren name of inbox_Child is Inbox, it's not Drafts). While it should give Drafts/inbox_Child. Is there any way to get correct path.
escamoteur0/1 04 Aug 2009
Hi, Business Contact Manager offers a vier of your items that is grouped like -This week -next month -after next month How can something like this be achieved?? Best Tom
escamoteur0/5 03 Aug 2009
Hi, I'm developing my first ad-in for Outlook 2007 using c# I use a Shim created with the Shim-Wizzard and everything worked fine for a while. I could set breakpoints and debug without problems. Since this morning I can't debug anymore. When pressing "run" outlooks get started, but all my breakpoint have a sign saying "Module not loaded" When I check in the Trust Center->COM-Addin
Ken Slovak - [M...0/12 03 Aug 2009
Hi All, what can be reason for this?? i'm trying to retrieve commandsBar, and once in a while got this strange exception within Outlook 2003. System.Runtime.InteropServices.InvalidComObjectException: COM object that has been separated from its underlying RCW cannot be used. at Microsoft.Office.Interop.Outlook.ExplorerClass.get_CommandBars() Any ideas??
Sandy0/1 02 Aug 2009
This problem refers to using Outlook 2007, No matter what I have tried (maybe too little), I can't get the reading pane for RSS feeds to allow me a preview of the HTML page it refers to. I can do this with Thunderbird, but I seem unable to find the correct previewer, or to install one, so that the reading pane comes up full. Each time I have tried a new solution, I get the same old
Ken Slovak - [M...0/2 31 Jul 2009
Hi, is there a way to receive an event, if a folder inside a Explorer is moved for Office 2007? Like the Explorer.BeforeItemPaste event? the Explorer.BeforeMove is the wrong one - that apparently triggers, when the explorer window is moved. thanks in advance, -coco
Tom0/9 30 Jul 2009
Hi, I have run into a problem using the a checkbox within a Ribbon control. I have a C++ COM component which I have implemented a ribbon solution that works fine for all of the buttons; but does not work 100 percent for a checkbox. I originally implemented the ribbon logic in accordance with an article by Jensen Harris (Using RibbonX with C++ and ATL) and implementing buttons was
Ken Slovak - [M...0/2 30 Jul 2009
I would like to write an add-in for Outlook 2007 that will prompt the user to enter some extra data after they click the Send button on an email. Based on what they enter, I then need to copy the message and save it in a public folder. Is this possible? Is there an event that I can hook into when the click the "Send" button in an email?
Ken Slovak - [M...0/5 30 Jul 2009
Hello, I'm having several problems with my Outlook-Add-In and I would appreciate any help on this one. To show a custom icon for items of a certain folder I set the PR_MESSAGE_CLASS to the message class I created and the PR_ICON_INDEX to -1. Then because of the -1 a custom icon is shown and because of the custom message class it's the one I defined in the custom form. Very good. The
Ken Slovak - [M...0/4 30 Jul 2009
I have a requirement to have specific data that's stored in a user property be displayed in the header and footer for printing purposes. The only way I can think of doing this is by setting the Header/Footer in the overall Outlook Page Setup, but I can't access those through the inspector. Can this be done? I know that if I'm able to do this via code, it will apply to all emails but I'm
j0/2 30 Jul 2009
Hi, I am developing outlook 2003 VSTO plugin project. How can I get programatically the outlook version (in this case 2003) ? Thanks in advance -- Nagaraj Tadipatri
mightyCoCo0/3 29 Jul 2009
Hi, I'm using the ItemEvents_10_OpenEventHandler to catch a open (double- click) event on a Outlook item. This works great on MailItem or PostItem types. However, Outlook objects of the type DocumentItem dosen't seem to fire this event. Instead I'm directly presented wih the document in it's native application. Is this a known restriction? (Outlook 2007, VS2005) thanks in advance,
Ken Slovak - [M...0/5 29 Jul 2009
1. How to capture events for submenus which comes under "Other Actions" popup menu on toolbar when open a mail in outlook 2007. There are some submenus under "Other Actions" popup menu like Edit Message, Recall This Message, Save Attachments etc For outlook 2003 i can capture these submenus using ActiveInspector->ActiveManuBar("Actions"). They comes under "Actions" popup menu in 2003.
Ken Slovak - [M...0/5 29 Jul 2009
Hi All, I want to send email content from the email in outlook 2007 and 2003 to some server in rfc822 format but i am not able to get even complete message from MailItem object. Can someone help me to find out how can i create rfc822 format compliant email message from MailItem object.
escamoteur0/6 29 Jul 2009
Hi, I tried to change the display name of a newly added .pst store theApp.Instance.Application.Session.AddStoreEx(path,Microsoft.Office.Interop.Outlook.OlStoreType.olStoreUnicode); //Find Our Store with WorkAround over FilePath Outlook.Stores stores=theApp.Instance.Application.Session.Stores; foreach (Outlook.Store store in stores)
Ken Slovak - [M...0/2 28 Jul 2009
Hi, I have the following code in my app if (this.Application.ActiveExplorer().Selection.Count > 0) { Object selObject = this.Application.ActiveExplorer().Selection[1]; if (selObject is Outlook.MailItem) { Outlook.MailItem mailItem =
Ken Slovak - [M...0/2 28 Jul 2009
I am writing a VSTO plug-in in which I need to show progress status of my task. Can I use the progress bar of outlook which shows send/receive status? Any suggestion if that is not possible?
Sue Mosher [MVP...0/4 28 Jul 2009
Hi All, I want to italicize the display of email item in explorer window. I am unable to find any property of MailItem to help me in achieving that. Please help me.