add-in

How do I set permissions on my VSTO outlook add-in?

别等时光非礼了梦想. 提交于 2019-12-11 15:13:33
问题 I am trying to distribute my Outlook Add-In to the rest of the company. I'm using Visual Studio 2008 Professional and Outlook 2003. In VS I used an installed template for Outlook 2003. It created a solution with BOTH a project and an installer. I use the project and created an Add-In. It works GREAT on my PC in development . Now, I want to distribute it. Here's where things go haywire. The nice little installer they provide DOESN'T ACTUALLY WORK. The installer runs and places the files where

Outlook Com Add-In Deployment & Extensibility Issue

你离开我真会死。 提交于 2019-12-11 14:18:37
问题 I'm a developer writing an add-in for Outlook2003/2007 using C#, Visual Studio 2005. I'm also using the COM add-in wizard (not using VSTO, I have a Connect.cs). The program successfully runs with visual studio installed on my machine but when I try to deploy the software I am getting weird behavior. I have a logging system set up to write a few Extensibility.IDTExtensibility2 events (OnBeginShutdown, OnDisconnection, OnConnection, and OnStartupComplete) to a log file. When I run Outlook on

Accesses DB2 with entity framework 6 on visual studio 2015

时间秒杀一切 提交于 2019-12-11 12:36:25
问题 I'm trying to access DB2 V10 over z/OS via visual studio 2015 and entity framework 6. After some research i found some promising article - http://www.ibm.com/developerworks/data/library/techarticle/dm-0903linqentity/ However the example used is for 2010 and the same Add-in is not getting installed for 2015. Is there any better way of doing this with the combination of VS 2015 + EF6? Am i missing anything? Note : I don't have the luxury of using third part software's to accomplish the task. I

How to Differentiate SaveAs call and Save call in PowerPoint events?

佐手、 提交于 2019-12-11 12:11:12
问题 I'm writting AddIn for PowerPoint 2010. I'm using two functions of PowerPoint. Application_PresentationBeforeSave(ByVal Pres As Microsoft.Office.Interop.PowerPoint.Presentation, ByRef Cancel As Boolean) Application_PresentationSave(ByVal Pres As Microsoft.Office.Interop.PowerPoint.Presentation) When I perform Save operation (Ctrl+S) or SaveAs (File -> SaveAs) on powerpoint it executes Application_PresentationBeforeSave() method. But I need to differentiate these two calls (Ctril+S & SaveAs)

SQL Server CE + Addin Read and Write Collision Avoidance?

六眼飞鱼酱① 提交于 2019-12-11 11:18:28
问题 We have an Office Addin that uses Sql CE with the usual DBConnection to a *.sdf in the filesystem ('C:/...etc...'). When we start two copies of the application having the Sql CE-augmented Office Addin (testing what a user might do by mistake) the Sql CE database becomes corrupted and the Office Addin can no longer access its data. It seems like we are missing some basic way of avoiding a seemingly obvious problem. By now everyone knows that Sql CE does not lock its rows allowing the sort of

Outlook Event is not getting fired on click of custom button

不羁岁月 提交于 2019-12-11 10:23:27
问题 I am developing a Microsoft Outlook Add-in, where I have added one button in Add-In tab name OPENISMS . I could see the button, however on click the event is not getting fired. I have no clue why it is behaving in this manner. Please find below are code for adding button and attaching event to it. Any help will be highly appreciated. private void AddButtonToNewDropdown() { Office.CommandBar commandBar = this.Application.ActiveExplorer().CommandBars["Standard"]; Office.CommandBarControl ctl =

Adding content control throws an exception dynamically

六眼飞鱼酱① 提交于 2019-12-11 08:30:36
问题 I am fairly new to Word Addin development. Fortunately I was able to do almost everything but stuck at some simple issue I belive. I want to insert plain text controls dynamically at the selected range. For this I am using the following: currentDocument = application.ActiveDocument; foreach(var field in myFieldsList) { Microsoft.Office.Interop.Word.Range rng = currentDocument.ActiveWindow.Selection.Range; object oRng = rng; var contentControlPlain = application.ActiveDocument.ContentControls

Create Excel Add-in without VSTO

拈花ヽ惹草 提交于 2019-12-11 07:32:49
问题 I have used VS 2010 to create an Excel 2007 Add-in with C#. The add-in is a TaskPane-based UI. Works great, love it. However, my users do not have Admin access and cannot install the add-in because VSTO is required. Is there a way to create/port this add-in to a normal COM based add-in without this show-stopping reference to VSTO? 回答1: They shouldn't necessarily require admin rights just because you use vsto. Make sure that the addin is being installed "Per user" instead of "per machine". 回答2

Outlook Add-In - Enable/Disable Button during Runtime/from Code

久未见 提交于 2019-12-11 07:01:01
问题 Initial Situation: We are developing an Add-in for Outlook 2010 in C# with VS.NET 2010 based on Framework 4.0, VSTO, DevExpress WinForm Controls. In Designer we have a Ribbon with a RibbonTab, then a RibbonGroup then a RibbonButton. We're consuming WebServices from within this Outlook Add-in. Objective: We need to enable/disable the RibbonButtons when the WebService is available/unavailable (from/out of the code) we've found the following links: Links Ribbon Object Model Overview: http://msdn

How to access selected project in Solution Explorer from a Visual Studio Add-In?

落爺英雄遲暮 提交于 2019-12-11 06:57:37
问题 I developed a VS 2008 add-in and added a custom menu item to context menu for "Project" nodes in Solution Explorer. This allows me to right-click any project in solution and perform a custom operation on that project. Or at least, it would, if I knew how to access the selected project from my Click event handler . Can someone with more experience please help me? 回答1: I think what you're looking for is DTE.ActiveSolutionProjects. 来源: https://stackoverflow.com/questions/1272022/how-to-access