add-in

plug-in architecture based c/c++ application

梦想的初衷 提交于 2019-12-10 02:54:25
问题 I need to know how to start writing an application based on plug-in architecture. I mean how to write a base code and let others develop the application by adding the plug-ins they write. I know that there is some problems in doing so in c++. most people use another language such as python to add plug-ins to their c++ application. 回答1: I think, this is not the answer you expect, but you could try to examine the Rainmeter sources. It's written in C++ (some places could be done better, to my

Mark or highlight files in Visual Studios Solution Explorer

偶尔善良 提交于 2019-12-09 15:29:18
问题 is there an Add-In which allows me to tag or mark files in Visual Studio and then these files are visual highlighted (eg. different background color) ? I searched the Visual Studio Gallery but didn't find anything. Thanks! 回答1: I found the extension Visual Studio Tags on codeplex that can do what we need, but there's not (yet) visual support (ie, diferent colors in solution explorer). 回答2: To highlight only the active (open and viewed) item in the solution explorer (without any add-ins): Go

Can I add a custom “Send” button to Outlook?

随声附和 提交于 2019-12-09 14:32:47
问题 I'm creating a secure message alternative to email for my organization. We exchange confidential patient information with outside treatment providers. To protect privacy, we cannot use email for this purpose. Rather than force the users here to use whole new inbox, outbox, and authoring interfaces in addition to the Outlook/Exchange email they're used to, is it possible for me to simply add a "Send Secure" button that will direct their message to my custom service rather than the email server

Is in Visual Studio an equivalent to the Eclipse “Run Configurations”?

为君一笑 提交于 2019-12-09 14:19:42
问题 Is there in Visual Studio an equivalent to the Eclipse "Run Configurations"? In Eclipse I can setup hundreds of run configurations with many different command line parameters. In Visual Studio I can setup only one configuration for the active project. 回答1: You can create multiple configurations just like in eclipse, screens are different but you can do pretty much everything. You can click on Menu -> Build \ Configuration Manager and in every combo box, you will see last two options as New

Slide animation when showing/hiding CustomTaskPane in VSTO

狂风中的少年 提交于 2019-12-08 17:55:35
I have a CustomTaskPane in my VSTO project that I can show/hide using .Visible = true/false property. However it's an ordinary showing/hiding element with no animation whatsoever. However the "Smart Lookup" button, that comes with Excel 2016, also opens an Excel Pane by sliding left/right. I guess that the Smart Lookup addin is built in the newer technology using JavaScript instead of the outdated VSTO COM plugin and thus might have such feature. Am I able to have it in the VSTO plugin as well? It's the default behavior beginning with Excel 2013, that the task panes slide in / out. But this

Get ProjectItem path without using item.Document.FullName

 ̄綄美尐妖づ 提交于 2019-12-08 16:01:13
问题 I have a visual studio add-in project where I must iterate through the current project's items, utilizing the absolute (or relative) path to those files. The item.Document.FullName works, but only for files that are currently opened. Is there any other way to access this information in the DTE object? 回答1: Is this what you're looking for? myProjectItem.Properties.Item("FullPath").Value 回答2: Even I was looking for a solution to get the project name based on the document or file Name. I found

Not a valid Office Add In

好久不见. 提交于 2019-12-08 15:48:14
问题 I developed a new Office 2007 addin using VS 2008 and VSTO. after this I go to Office->Excel Options->AddIns->COM AddIns and GO... If I select the .dll which I ve created I get the error '<path>' is not a valid Office Add In. If I run it using the Visual Studio 2008 at my development machine, it works fine and I see the add-in. I searched so many posts but didn't get a solution. 回答1: Excel kept rejecting the Add-In, so the solution for me was doing it directly via the registry. Save the below

Anyone know of any (free / open source) VI integration for Visual Studio?

心已入冬 提交于 2019-12-08 14:26:30
问题 vi is for cool kids. 回答1: ViEmu - Not Free but great Vim emulation. Visual_Studio.vim - Allows you to manage visual studio from Vim. Using GVim as the Visual Studio Editor 回答2: After @joe's answer, Jared Parsons created the great VsVim. It's been featured on Visual Studio Gallery. It's a ready extension package. I downloaded it, ran the file and it worked out of the box. It's free, too. 回答3: Starting with Visual Studio 2010 you can use VsVim. It's a free extension available on the extension

C# Outlook 2013 Add-In Keyboard Events

最后都变了- 提交于 2019-12-08 11:27:51
问题 I'm working on a custom shortcut but I'm facing the problem, that the key events do not fire when outlook 2013 is focused (with 2007 & 2010 it's working fine). So far, I've tried different solutions. This one seems to be the best so far, the following code is a global hook. [DllImport("user32.dll")] static extern IntPtr SetWindowsHookEx(int idHook, LowLevelKeyboardProc callback, IntPtr hInstance, uint threadId); [DllImport("user32.dll")] static extern bool UnhookWindowsHookEx(IntPtr hInstance

Office Add-In for Excel falsely acts on every open workbook

杀马特。学长 韩版系。学妹 提交于 2019-12-08 11:20:06
问题 Using Excel-2010, VS-2013, I created an 'Office Add-In' that adds functionality to Excel. (The functionality, for example involves new Shortcut-Actions that color certain Excel-Cells.) Everything is working perfectly - except that the functionality added is carried out on all open Excel-workbooks at once! This is not the intention. The intention is that this Add-In functionality only performs on the one Excel-workbook the user currently works with. Is there any idea on how to achieve this ?