outlook-2010

How do I enable/disable my Ribbon Buttons in Outlook

孤人 提交于 2019-12-10 19:14:09
问题 I have an Outlook Add-in created with VSTO. Using the Ribbon Designer I have created a tab with three buttons on it. ( Environment: Outlook 2010, .NET 4.0, VSTO latest runtime ) When one of the buttons is pressed a modeless dialog is opened. As long as the user is working on this dialog I do not want him to be able to press the button again. So basically I want to gray out the button till the dialog is closed. How can I do this? For whatever reason, in the button click handler, if I do this

Outlook strips URL hash from email

和自甴很熟 提交于 2019-12-10 14:43:58
问题 Our app generates an email that includes a link with a hash fragment. When an Outlook 2010 user clicks the HTML link (within the <a> tag), the URL is opened but mysteriously excludes the hash fragment. If the user clicks the plain URL (that Outlook converts to a clickable link), the full URL opens correctly. Here is the relevant code from our Rails app, if that helps: mail(from: @message.from, to: @message.to, cc: @message.cc, bcc: @message.bcc, subject: @message.subject) do |format| format

Table style border- outlook 2010 adds an extra space

跟風遠走 提交于 2019-12-10 12:57:00
问题 I created an HTML for email marketing. I placed a table, and applied a border around it: <table border="0" cellspacing="0" cellpadding="0" style="border:1px solid #982676; margin:0 16px;"> For some reason I am getting 1 pixel extra white space inside when I test it in OUTLOOK 2010. I see it around images that are aligned to the top and to the left, and I see it around other cells that have a solid background color. See image at this link:screenshot The top triangle is an image in a cell by

How do I get the selected text from a WordEditor Object and change it's color?

别来无恙 提交于 2019-12-10 10:54:03
问题 I'm trying to use the WordEditor object to modify the color of the selected text (Outlook VBA) but i'm unable to find documentation or examples on how to do it. Any ideas? I don't want to use the HTML editor, i need a solution for WordEditor . I tried debuging the code and using OutlookSpy, but everytime i go into WordEditor.Content my outlook freezes and restarts :(. Using Outlook 2010 on Windows 7 回答1: OK - I found something that works. Ugly, but works: Sub EmphesizeSelectedText(color As

How to get the CRM Entity Name from the Object Type Code of a RegardingID?

爱⌒轻易说出口 提交于 2019-12-10 10:39:13
问题 So it seems that it is a fairly common question in CRM to try get the object type code when you have an entity name. But since I always have to do things the hard way, I have the reverse task: I have the object type code, and need to get the entity name. In general, the ultimate task is to take the the CRM regarding information on an email, and use it to query CRM for additional info. I can get the regardingID and the object type code easily. And for standard entities I can use a hardcoded

How can i get the outlook free / busy rest api for my own company email exchange?

假装没事ソ 提交于 2019-12-08 09:18:19
问题 I use Microsoft outlook as a client to view my mail . How can i get the detail for particular user free / busy detail of calendar ? How can i see the rest api for this ? I have seen C# code for this and has checked that . Get appointments from coworker via EWS only with "Free / Busy time, subject, location" permission level But i need REST api for this . I have checked this. https://msdn.microsoft.com/en-us/office/office365/api/calendar-rest-operations#FindMeetingTimes How can i implement

How to make a responsive grid in Outlook 2007?

随声附和 提交于 2019-12-08 07:06:35
问题 I'm creating a 3x3 grid layout in an email, which I have done with tables. I have also made it mobile responsive so that when viewed on a mobile, the grid resizes to 2x2. This all works fine but for some reason on Outlook 2007 onwards it displays the grid so it shows them one under another. I know Outlook has its restrictions but does anybody know a way round this? I've been staring at my code for ages. Here's my code (sorry I can't put all my code on as its longer than 30000 characters)

Outlook addin custom button adding in drop down

半城伤御伤魂 提交于 2019-12-08 06:08:49
问题 Hi i am trying to add custom button in drop down in Outlook .... like as shown in image ..black box is added as custom button some help how i can customize ribbon to get this .. thanks nikhil 回答1: thanks http://msdn.microsoft.com/en-us/library/ee692172.aspx#OfficeOLExtendingUI_ContextMenuforaMailItem i have solved above issue after adding xml from above link in my VC++ code ribbon xml. 来源: https://stackoverflow.com/questions/10317361/outlook-addin-custom-button-adding-in-drop-down

Outlook VSTO C# Make post to html url

让人想犯罪 __ 提交于 2019-12-08 05:58:01
问题 I am making a plugin for Outlook 2010 using VS2010 C#. The objective of my plugin is to grab the To, CC, BC from the new email when a custom button is pressed from the ribbon and post it to an external url (which takes in a post request). Similar to how forms in html/jsp can post inputs to a different page(url). So far, I can grab the To,CC,BC and store it in a string variable. But I don't know how to make a post to the external url. Any help would be greatly appreciated. Thanks. Here is my

Upgrading VB6 code from Outlook 2007 to Outlook 2010

北城以北 提交于 2019-12-08 04:03:41
问题 We want to upgrade our VB6 code to use Outlook 2010, but we're getting the following error: Active x cannot create object This is our current code: Public Sub SendEmail() Set emailOutlookApp = CreateObject("Outlook.Application.12") Set emailNameSpace = emailOutlookApp.GetNamespace("MAPI") Set emailFolder = emailNameSpace.GetDefaultFolder(olFolderInbox) Set emailItem = emailOutlookApp.CreateItem(olMailItem) Set EmailRecipient = emailItem.Recipients EmailRecipient.Add (EmailAddress)