outlook-addin

Create MSI file from c# outlook addin in VS 2013

◇◆丶佛笑我妖孽 提交于 2019-12-02 08:39:28
I have c# outlook addin created in visual studio 2013. It has windows forms also. I am getting mad on generating msi file, any easier solution/steps for me, please ? Mainly tell me, after completing the process, where do I find the final MSI file (like bin/release folder) ? I installed this - https://visualstudiogallery.msdn.microsoft.com/9abe329c-9bba-44a1-be59-0fbf6151054d as well as installshield limited edition installer. I was able to build it and ran the installation file(.exe) from disks folder and it is installing but not showing anything in the outlook. Take a look at the Deploying an

Is there something special about the wndProc messages for a RichEdit20WPT window?

徘徊边缘 提交于 2019-12-02 08:27:28
I am currently trying to subclass an Edit Control, in particular the subject of en Email in the Outlook Client. This control is of class RichEdit20WPT. I get a wndProc by using the following WINAPI methods. <DllImport("ComCtl32.dll", CharSet:=CharSet.Auto)> _ Public Shared Function SetWindowSubclass(hWnd As IntPtr, newProc As Win32SubClassProc, uIdSubclass As IntPtr, dwRefData As IntPtr) As Integer End Function <DllImport("comctl32.dll", SetLastError:=True, CharSet:=CharSet.Auto)> _ Public Shared Function DefSubclassProc(ByVal hWnd As IntPtr, ByVal uMsg As IntPtr, ByVal wParam As IntPtr, ByVal

Change organizer of outlook AppointmentItem via VSTO

…衆ロ難τιáo~ 提交于 2019-12-02 08:11:24
I am trying to create set of AppointmentItems from database in Outlook via an add-in I have developed. I would like to be able to create AppointmentItems on another exchange account's calendar(I have the credentials of it). The organizer attribute of AppointmentItem is read-only, it did not help. I was just wondering whether there is any way to achieve this. I am using Outlook 2010 and Visual Studi 2010 Many thanks for your help. Regards My understanding is that if you want to change the meeting organizer, you would need to cancel the meeting and have the new organizer send out the meeting

sharing variables in a multi-project solution

时光怂恿深爱的人放手 提交于 2019-12-02 08:06:06
问题 I'm creating a solution in VS2010 for Outlook 2010 using C# that is comprised of 3 projects. Project A - B & C are dependent on this one. It defines certain variables/functions that need to be accessible from B & C Project B - Needs to read variables from A. Project C - Needs to read variables from A I've not gotten far, yet, as I can't seem to read the variables from A into B or C. I've added A as a reference to both B & C, but assigning a local variable in one of those to the value from A

HTTP fetch from within Outlook add-ins

泄露秘密 提交于 2019-12-02 07:28:12
I need to call an external web service so that my add-in communicates with our company's Java servlets. I tried using JavaScript's XMLHttpRequest : var http = new XMLHttpRequest(); http.open( "GET", url2, true ); http.onreadystatechange = function(){ console.log( 'Data: ' + http.responseText + '\nStatus: ' + http.status ); } and specifying Google's main site as whitelisted: <AppDomains> <AppDomain>https://www.google.com/</AppDomain> </AppDomains> to try if it works, but every time I run it this is what I get: Failed to load https://www.google.com/: Redirect from 'https://www.google.com/' to

sharing variables in a multi-project solution

落花浮王杯 提交于 2019-12-02 07:17:19
I'm creating a solution in VS2010 for Outlook 2010 using C# that is comprised of 3 projects. Project A - B & C are dependent on this one. It defines certain variables/functions that need to be accessible from B & C Project B - Needs to read variables from A. Project C - Needs to read variables from A I've not gotten far, yet, as I can't seem to read the variables from A into B or C. I've added A as a reference to both B & C, but assigning a local variable in one of those to the value from A results only in a null (which I know is not true). More clarification: This is a set of 3 outlook add

1 MB response size limit with outlook web add-ins

霸气de小男生 提交于 2019-12-02 07:14:22
I'm using makeEwsRequestAsync to get the full MIME content of the email. But it looks like response size is capped at 1 MB, per the error message in the response: "ErrorMessage":"Response exceeds 1 MB size limit. Please modify your EWS request.” <GetItem xmlns="http://schemas.microsoft.com/exchange/services/2006/messages"> <ItemShape> <t:BaseShape>IdOnly</t:BaseShape> <t:AdditionalProperties> <t:FieldURI FieldURI="item:MimeContent"/> </t:AdditionalProperties> </ItemShape> <ItemIds><t:ItemId Id="' + itemId + '"/></ItemIds> </GetItem> I need to get MIME content of messages which may exceed 1 MB,

ics file not recognized by outlook

↘锁芯ラ 提交于 2019-12-02 07:11:42
I have some problems. I'm trying to send an ics file, so an outlook user can add the event in his calendar. In some versions, like 2010, it works well (home edition) but on some, (like business) it doesn't recognize it directly. You must double-click the content so you can preview it. In that other version, it shows the calendar option immediately as I've clicked the mail. What am I doing wrong? Here is the code for the calendar. $str="BEGIN:VCALENDAR\r\n PRODID:-//Microsoft Corporation//Outlook 14.0 MIMEDIR//EN\r\n VERSION:2.0\r\n METHOD:REQUEST\r\n X-MS-OLK-FORCEINSPECTOROPEN:TRUE\r\n BEGIN

Positioning of a menu item image (hbmpItem of a MENUITEMINFO) in a context menu

巧了我就是萌 提交于 2019-12-02 04:27:08
I am inserting a menu item into an Outlook Context menu for a subject text control. Here you can find a previous question I had on doing this. The issue I have is that the image of the menu item is positioned strangely in Outlook 2010. In Outlook 2007 it is positioned differently. It seems that the menu item is holding the position for the checked image free in Outlook 2010. This shows how my menu item looks with the below code. Notice the large space to the left of the image. This shows how it looks when i add the MIIM_CHECKMARKS flag to fMask and a bitmap to the hbmpUnchecked pointer. Dim

VSTO Outlook integration - Outlook shutdown event for synchronization

爷,独闯天下 提交于 2019-12-02 04:04:43
问题 I'm working on a VSTO Outlook 2007 add-in that basically synchronizes Outlook data with web service. There are three types of synchronization that I want to have in the app: startup sync, manual sync and sync on shutdown. The first two as simple and are already done. However I have problems finding an appropriate event to fire to handle my sync on shutdown. I tried hooking to the following two events but it seems that they are fired too late when add-in doesn't have access to Outlook data and