add-in

IE Protected Mode Problem?

情到浓时终转凉″ 提交于 2019-12-06 09:56:39
We've developed an ie-add (with add-in express) in which saves some information on locally. (to the application path) But without "run as administrator" or "disabling protected mode" it's not allowed. Is there any way to accomplish this? Any way to load add-in with administrator privilige? (manifest files does not work for dll's) or any way to disable protected mode with user approval? Thank you! Andrei Smolin - Add-in Express I don't think there's a way to disable Protected Mode programmatically. I assume we have to live with it. Find some pointers of how to do this in: HowTo: Deal with

Storing XML data for use with an addin

你离开我真会死。 提交于 2019-12-06 09:55:13
问题 I am in the process of creating an outlook addin. The addin works sort of like an aggregator. In this addin, the user will need to specify multiple sets of account information for the addin to have access to...see below: <Accounts> <Account> <id>blah1</id> <password>blah1 again</password> <Account> <Account> <id>blah2</id> <password>blah2 again</password> <Account> <Account> <id>blah3</id> <password>blah3 again</password> <Account> </Accounts> So far I have thought that this should be

Excel 2010 AddIn not loaded when Excel-Workbook opened with double click

亡梦爱人 提交于 2019-12-06 08:28:22
I wrote a Add-In for Excel 2010. It works fine if I open Excel from Start menu. But just if I double click on a Excel Workbook, the AddIn can not be loaded. I checked it in ThisAddIn.cs , the method InternalStartup() has not been involved. Can somebody help me? Thanks! But opening file from command line "excel.exe table1.xlsx" works! 来源: https://stackoverflow.com/questions/10978625/excel-2010-addin-not-loaded-when-excel-workbook-opened-with-double-click

In Visual Studio Add In - How can I retrieve the properties of the text selection's object (Visual Commander)

北战南征 提交于 2019-12-06 07:21:42
问题 I have scratched my head for over a day on this: Essentially I am attempting to build an Add-In for Visual Studio 2012 that does the following: Take the variable name that is currently selected, go and find the class that it is an instance of, then type the veriable.property for each property on its own line: BEFORE: eg. (Consider myPerson is selected) int CountPerson(Person myPerson) { *myPerson* } AFTER: int CountPerson(Person myPerson) { myPerson.Name myPerson.Surname myPerson.Age } I have

How to connect a ribbon button to a function defined in an Excel add-in?

删除回忆录丶 提交于 2019-12-06 06:52:55
I'm using MSVS 2013 to create a C# MS Excel Add-In. In previous add-in paradigms, the ribbon class designer directly connected a ribbon button click event to function in the Add-In application class - now the ribbon functions are defined in the ribbon class, itself. What is the best way to access a function defined in the ThisAddIn class from the separate ribbon control class? This is a simple method for doing this: private void butRefreshSelectedWorksheets_Click(object sender, RibbonControlEventArgs e) { try { Globals.ThisAddIn.RefreshWorksheetListings(); } catch (Exception ex) { System

What ClearCase plugin to use with Visual Studio 2008 SP1

半世苍凉 提交于 2019-12-06 06:18:28
问题 At work I have to use ClearCase v7.0.1.2 and ClearQuest v7.0.1.0 with Visual Studio 2008 SP1. Am running on a Windows XP SP2 box. I've done some searching but not found an official installer yet, can anyone advise (provide a link to) on the best plugin/addin to install for Visual Studio 2008 integration? Thanks 回答1: The official instructions are in this IBM page CC-CQ-VS2008.zip (32 bits) CC-CQ-VS2008.zip (64 bits) Process: Download the appropriate package from the FTP link below to your

Worksheet_SelectionChange event in xla add-in

安稳与你 提交于 2019-12-06 05:40:58
Is to possible to trigger Worksheet_SelectionChange event in xla add-in. I put the code in Worksheet module of add-in. but it did not enter into this module. My target is to set the comment box in the center of active window. I got the code from here . Please help me. Tim Williams You need to work with Application-level events if you want to capture an event in another workbook. See here 来源: https://stackoverflow.com/questions/10442842/worksheet-selectionchange-event-in-xla-add-in

Outlook COM addin installed but not loading in Outlook

谁说胖子不能爱 提交于 2019-12-06 05:37:35
问题 I have created an Outlook addin using Visual Studio 2010 that installs fine and creates the appropriate registry keys and folders in Program Files (x86) as I have specified and it shows in Add and Remove programs. However, when I launch Outlook 2010 - it doesn't show up and when I check the COM Addins, it is not available in the list. I created the Setup in VS and added the Output of the main project in the file system as usual and also included the .vsto file. Any pointers anyone please? 回答1

“addin.XLL is in a different format” issue, cannot open the xll I created by myself

落爺英雄遲暮 提交于 2019-12-06 03:56:50
I wrote a very simple xll file in VC++ 2010, and the Excel I am using is Excel 2007. The library contains only one function: extern "C" LPXLOPER12 WINAPI tsMkErr() { static XLOPER12 x; x.xltype = xltypeErr; x.val.err = xlerrNull; return &x; } and the necessary xlAutoOpen function. I compiled and dll file, change the name to xll, and double click it to open in Excel. Everything works just as I expected. However, if I am trying to open this file on another PC, the Excel just keeps telling me that: The file you are trying to open, '.xll', is in a different format than specified by the file

Creating a (ClickOnce) setup for VSTO Outlook Add-in

有些话、适合烂在心里 提交于 2019-12-06 03:29:39
问题 So I created an Outlook Add-in and used the click-once setup to deploy it. The setup runs fine when the user is administrator, but otherwise: no go. Running the setup with "run as..." and logging in as admin works, but than the add-in is installed under the admin, not the current user. The addin doesn't show up in outlook. I tried following this guide: http://blogs.msdn.com/mshneer/archive/2008/04/24/deploying-your-vsto-add-in-to-all-users-part-iii.aspx But I get stuck at part I: http://blogs