add-in

How can I create new blank solution in vs 2008 programmatically?

我与影子孤独终老i 提交于 2020-01-04 04:39:17
问题 The design based approach is: New Project -> Other Project Type -> Visual Studio Solution -> Blank Solution I have to create a blank solution programmatically in C# and in this solution add new empty project and files. i found a lot of code on the web using DTE but they are adding my empty project in existing solution explorer so please give me some reference code. 回答1: You can create a new blank solution using DTE like this: string visualStudioProgID = "VisualStudio.Solution.9.0"; Type

Mac Powerpoint addins?

こ雲淡風輕ζ 提交于 2020-01-03 06:27:42
问题 Currently we have a DLL Windows Powerpoint addin written in C#. Is there anyway to translate that into the Mac version of Powerpoint? Obviously DLL doesn't exist on Macs, so what would be an alternative? What programming language would I have to write it in? is there a way to automatically convert? thank you 回答1: No need for AppleScript. Office 2011 for Mac is out already, and does support VBA (and hence add-ins) once again, with some nice improvements over the earlier VBA support that was

Visual Studio add-in to support images inline with source? [closed]

我的未来我决定 提交于 2020-01-03 05:01:07
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . We use Visual Studio 2005 here, and in an attempt to improve the documentation of our source, we're looking for a Visual Studio add-in that will allow images to be viewed in line with source from within the IDE. For example, the use case I'd like to fit is the following: In the directory in which my source lives,

Building a C# addin for Solidworks [closed]

房东的猫 提交于 2020-01-02 08:44:08
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed last year . It seems quite complicated on multiple sites. What are the proper steps to build a Solidworks Addin in C# with Visual Studio 2017? 回答1: I'd like to share my experience on building a C# addin for Solidworks 2016 using Visual Studio Professional 2017 and Windows 10. I wish I had such

VSTO Excel Add-In with Visual Studio Express

你。 提交于 2020-01-02 06:06:21
问题 I want to create an add-in (a ribbon precisely) for MS Excel by using Visual Studio C# 2010 Express. I have searched and read about it here and here and somewhere else. However, when I want to create a new project I don't see any template as described, I don't see even the Office tab. Is it because I am using the Express edition? I think it shouldn't be. Because in this official comparison they say all editions are capable of office development. What can I do to develop this add-in? 回答1:

Excel Add In's Custom Ribbon Tab Will Not Display

。_饼干妹妹 提交于 2020-01-02 04:37:10
问题 I've created an application level add-in for Excel to automate some tasks. I used the VS2012 template Visual C# > Office > 2010 > Excel 2010 Add-In. Rather than having an action pane open every time Excel does, I've opted to create a custom ribbon tab following these instructions: http://msdn.microsoft.com/en-us/library/vstudio/bb386104.aspx However, when I build my project, the tab does not display. I have verified the add-in is loading, and all of its features function properly, except the

Event Handler not being added to new Mail Items

眉间皱痕 提交于 2019-12-31 04:32:12
问题 I'm trying to create a simple Outlook 2010 add-in that responds to new attachment events. The code below only works when I uncomment the MessageBox.Show line. But with it removed it appears not to add the event handler. What am I missing about the program flow that means that a modal message box affect the placement of event handlers? public partial class ThisAddIn { private void ThisAddIn_Startup(object sender, System.EventArgs e) { Application.Inspectors.NewInspector += Inspectors

How to intercept clicking of a built-in Office Ribbon control

淺唱寂寞╮ 提交于 2019-12-31 01:59:05
问题 I'm wondering if it's possible to detect when a user has clicked the Header/Footer button in Excel so I can show some custom header/footer related ribbon controls on my add-in's tab and hide them when the user is not in header/footer edit mode. Is it possible to hijack this button click somehow? I've seen applications hijack the Excel Save before. I'm looking for similar behavior just with the header/footer button. I'm using C#, Visual Studio 2012 and Excel 2010. I've created my custom ribbon

Call VBA AddIn macro from VSTO PowerPoint Ribbon

最后都变了- 提交于 2019-12-30 07:23:26
问题 I've been stuck for a few hours on this problem : I am developing a PowerPoint AddIn in C# and I want to use a macro from another AddIn which is a PPAM file. The PPAM file is installed and enabled. In the Application reference I found that I need to use the Application.Run method but I cannot get it working ( nothing happens )... Here is my code: Globals.ThisAddIn.Application.Run("PPspliT.ppam!PPspliT.PPspliT_main", null); PPspliT.ppam is the installed AddIn ( which is located here : C:\Users

How to develop a Microsoft Office AddIn without Visual Studio

若如初见. 提交于 2019-12-29 11:35:26
问题 I'm trying to develop an MS Office Addin in C# .Net and I don't have access to Visual Studio. Instead I'm using SharpDevelop as my IDE, (but my question is equally relevant to anyone developing using any other IDE or compiling from the command line...) I've done a bit of searching for guides on how to develop AddIns, but they all seem to require Visual Studio and follow these steps: Install the Interop Assemblies Create a Visual Studio .Net Project ( I'm unable to do this bit ) Extend the VS