outlook-addin

C# Outlook VSTO add-in error while trying to get item in an Exchange setup

时光总嘲笑我的痴心妄想 提交于 2019-12-12 06:36:34
问题 I'm developing an Office VSTO add-in in C# which looks up calendar appointments in Outlook, and reads/writes some data in them. Recently, one of the clients had issues with the add-in, namely they can't read/write the calendar appointment, and it throws an exception : The operation failed. There's not much info from the exception log, but I suspect they have synchronization problems with Exchange. I asked the client, and they said, that they also have a random popup in Outlook as well, which

Make a button in the body of the email to send info back to the sender of the email

﹥>﹥吖頭↗ 提交于 2019-12-12 06:23:52
问题 I recently started using MS Outlook 2007 but am having trouble understanding how I could implement something specific. To get to the point, this is what I'd like to know how to do: How could I create/store controls or visual elements such as buttons, textboxes, etc..? How could I allow the person who receives the email then input info into the text box inside the email, then also inside the email, locally store the data from the text box control ao that it could be edited and returned? How

change default icon outlook-addin

心已入冬 提交于 2019-12-12 05:41:03
问题 I try to change the defaut icon of y outlook add-in. By defaut it's blue icon I changed every logo in my images folder. When I would like add my add-in I see the correct logo But on Outlook, I have again the old logo [ ] 3 I tried to clean and rebuild the solution, but it didn't change anything. I don't understand why I have always the old logo. I don't know where this old logo come from 回答1: Try to add in your manifest file this: <IconUrl DefaultValue="your URL to image"/>

Solve the error installation package is not supported by this processor type

删除回忆录丶 提交于 2019-12-12 05:29:31
问题 I am working to develop an add in for outlook 2010 with Visual Studio Ultimate 2013. To create the setup package I use InstallShield limited Edition. The setup generated works on 64 bit pc. It doesn't work on 32 bit systems. The reported error is: this installation package is not supported by this processor type The test reporting the error has been done on a windows 7 32 bit. The list of redistributables is: Microsoft .NET Framework 4.5 full Microsoft VSTO 2010 Runtime Visual studio 2010

Outlook sample addin added, but it is not shown

寵の児 提交于 2019-12-12 05:19:50
问题 I have taken the sample Outlook addin from here https://github.com/OfficeDev/Outlook-Add-in-JavaScript-ModuleExtension If I add that addin to my Installed Outlook Apps (at the URL https://exchange.contoso.com/ecp/Extension/InstalledExtensions.slab?rfr=olk&exsvurl=1&realm=contoso.com opened via "Manage Add-Ins") the Navigation Bar entry does not show up in my Outlook 2016. This is how it should look as per the example description: but the "Billable Hours" part does not show up the Navigation

Outlook hyperlink context menu

走远了吗. 提交于 2019-12-12 04:48:45
问题 I'm trying to make a context menu for a hyperlink. It seems there are several contexts where hyperlink events can be intercepted -- at the moment I'm interested in the context menu with idMso="ContextMenuReadOnlyMailHyperlink". There are two different ways the callback for my new button in this menu can be executed -- if hyperlink is right-clicked in the preview pane of Outlook, or if an email is opened for reading in its own window. When invoked from preview pane, my callback receives an

C# Get running Outlook instance in VSTO add-in

◇◆丶佛笑我妖孽 提交于 2019-12-12 04:47:45
问题 I am trying to get an Outlook Application object in my add-in for Excel. If there's a running Outlook instance, it should get that, if there isn't any, it should create one, using the Outlook object model. This is the code I have right now: public static Outlook.Application GetApplicationObject() { Outlook.Application application = null; if (Process.GetProcessesByName("OUTLOOK").Count() > 0) { application = Marshal.GetActiveObject("Outlook.Application") as Outlook.Application; } else {

Registry keys for building addin using visual studio installer

↘锁芯ラ 提交于 2019-12-12 03:16:15
问题 I was able to create msi installed for my c# outlook addin using visual studio installer - an extension. This is the link I used - https://msdn.microsoft.com/en-us/library/cc766795.aspx. I successfully created addin using the above link but its not showing up in outlook because the above link didnt talk about registry keys. So, I added registry keys based on the link - https://msdn.microsoft.com/en-us/library/cc442767.aspx I changed "installdir" to "targetdir" because visual studio installed

Outlook VSTO - Save AppointmentItem Parent

久未见 提交于 2019-12-12 02:54:44
问题 I'm trying to save a appointment series subject. This works as expected but after the save, When I performed move/edit the calendar item, I get this error. Code to reproduce error. public void OnMyButtonClickContext(Office.IRibbonControl control) { var sel = control.Context as Microsoft.Office.Interop.Outlook.Selection; var i = sel[1] as Microsoft.Office.Interop.Outlook.AppointmentItem; i.Parent.Subject = i.Parent.Subject + " [CONFIRMED]"; i.Parent.Save(); } I've tried setting i to null,

Breakpoints are not hit when debugging, Outlook Add in

守給你的承諾、 提交于 2019-12-12 02:36:43
问题 I spend to resolve this issue for half of my working day but I could not find out the solution. I am using Visual Studio 2013 and have around 10 projects in one solution. one of them is Outlook Addin. The Outlook refer to Debug Directory ( PROJECT_NAME/bin/Debug/AddinOutlook2013.vsto|vstoocal) It success to show up a simple dialog ( OK ) when a button in Addin in Outlook was clicked. But when i put the break point that code, it is never hit. PROBLEM Breakpoints are not hit when debugging in