add-in

powerpoint c# add-in shape grouping issue

妖精的绣舞 提交于 2019-12-01 20:48:46
I developing a PowerPoint 2010 add-in using Visual Studio 2010 and am having significant issues with grouping two objects on a slide. I am trying to create the two objects, place them on the slide and group them all in the same function. Adding the objects and placing them on the slide is not an issue. When it comes to the grouping part though.... I have tried: PowerPoint._Application myPPT = Globals.ThisAddIn.Application; PowerPoint.Slide curSlide = myPPT.ActiveWindow.View.Slide; string[] myRangeArray = new string[2]; myRangeArray[0] = "nameOfShape0"; myRangeArray[1] = "nameOfShape1";

How to specify AddIn process names?

蓝咒 提交于 2019-12-01 16:37:19
问题 I am using the Microsoft AddIn Framework to load AddIn assemblies. I am running them in their own process as to separate them from the service. The thing I don't like it that every AddIn process shows up as AddInProcess32.exe in the task manager. When using process isolation, how can we rename the name that shows in the taskmanager so that it's more descriptinve for users? 回答1: Unfortunately you can not. Filename for that process is hardcoded in private method GetProcessName(Platform platform

Unable to edit worksheet in an Excel add-in (Office js) after closing a Dialog

跟風遠走 提交于 2019-12-01 14:08:24
In an Excel add-in, right after closing a dialog created using displayDialogAsync, you cannot edit the cells in the worksheet. If you click anywhere else outside the worksheet (ribbon, task pane, etc), minimize/maximize Excel, or double click a cell, then you can edit again. If you scroll while you cannot edit, everything in excel becomes "un-clickable". Also, I have noticed that the title bar (where the name of document is shown) remains grayed out until you click outside the worksheet as if Excel didn't have focus. I was able to reproduce this using the basic Excel Add-in template from

c# using the event handler WorkbookOpen

孤者浪人 提交于 2019-12-01 13:34:18
I am programming an excel add-in and I want to execute certain code when a workbook is opened. This means that if they open excel and then open a workbook, the add-in will execute the code. I am assuming we have to use the event handler: Application.WokbookOpen But I do not know how to apply this. Thank You! Add this to InternalStartUp() this.Application.WorkbookOpen += new Excel.AppEvents_WorkbookOpenEventHandler(Application_WorkbookOpen); And then this function will be called when the workbook is opened void Application_WorkbookOpen(Excel.Workbook Wb) { //Do something } Also, it is hidden in

VB macro or office addin for mac

送分小仙女□ 提交于 2019-12-01 12:48:10
Currently we developed a VB macro for word. While we tried to use it on mac it failed with message "VB Macro not supported in mac". Is there a way to c# office add-in for mac? My requirement is to have a simple utility to add comments(read from user) to the selected text in the current word document. Also need the functionality of the OpenFileDialog. Mac Office does not (i.e. no longer) support COM/VBA automation. This means that you won't be able to use code from your existing Windows add-in. In order to automate Mac Office you would have to make use of Automator Actions. I am not very

Unable to edit worksheet in an Excel add-in (Office js) after closing a Dialog

家住魔仙堡 提交于 2019-12-01 10:29:46
问题 In an Excel add-in, right after closing a dialog created using displayDialogAsync, you cannot edit the cells in the worksheet. If you click anywhere else outside the worksheet (ribbon, task pane, etc), minimize/maximize Excel, or double click a cell, then you can edit again. If you scroll while you cannot edit, everything in excel becomes "un-clickable". Also, I have noticed that the title bar (where the name of document is shown) remains grayed out until you click outside the worksheet as if

Where can I get add-ins for visual studio express?

一世执手 提交于 2019-12-01 06:23:40
There is countless add-ins on http://visualstudiogallery.msdn.microsoft.com/ but it seems they are all not for visual studio express (I use visual studio 2010 C# express in my laptop). But extension manager does provide links to the site so I wonder how can I add-ins for VS express in the site? Visual Studio Express does not support add-ins. If you are student, you may be able to get full version (Professional) from either MSDN AA or from DreamSpark . Otherwise you are out of luck (unless you purchase it yourself). EDIT: You may also try SharpDevelop . It is open-source alternative to Visual

Where can I get add-ins for visual studio express?

自作多情 提交于 2019-12-01 04:40:15
问题 There is countless add-ins on http://visualstudiogallery.msdn.microsoft.com/ but it seems they are all not for visual studio express (I use visual studio 2010 C# express in my laptop). But extension manager does provide links to the site so I wonder how can I add-ins for VS express in the site? 回答1: Visual Studio Express does not support add-ins. If you are student, you may be able to get full version (Professional) from either MSDN AA or from DreamSpark. Otherwise you are out of luck (unless

See images in SSMS?

廉价感情. 提交于 2019-12-01 04:07:59
I was browsing around and found this blog post: http://erikej.blogspot.com/2010/04/version-3-of-exportsqlce-now-available.html (It is for a great add in if you user SQL Server CE.) On that post I saw an screen shot of SSMS with images in the results. How is this done? I have images in my database (PNG files that are serialized via memory stream), but I just see numbers when I select the image column. jwhaley58 If you are asking how this is done, I'm not sure how it is implemented exactly. I know that you can create ssms plugins in visual studio, and I'm sure that there is a way to take a

convert an Excel 2010 addin to a 2007 addin (both VSTO)

放肆的年华 提交于 2019-12-01 03:37:11
I am currently working on an Excel 2010 add-in which formerly was an Excel 2007 add-in. Somewhere in the process of switching computers, the add-in was converted i think. Some of my customers stated that the add-in wasn't working on Excel 2007 anymore so I tried to debug it in a VirtualBox with Excel 2007 and Visual Studio 2010 installed. Now I get the Error Message: You cannot debug or run this project, because the required version of the Microsft Office application is not installed. I started a new Excel 2007 add-in project and tried to find what the differences are and came up with the idea