I want to know anybody knows if there is in VSTO a control or a way to create a popup like Quick Analysis that appears at the right-bottom of a given range:
I'm creating an Excel plugin in VS2013 with C#, the plugin should be compatible on Excel 2007, 2010 and 2013. If such control can only be created on the latest version of Excel (2013) that may not be an option for deploy. I´ve already created a traditional Windows form to do this, but I'll like to know if there are better ways to show new controls to the user, closer to where the action is occurring. Thanks!
Related
I am planning to develop an AddIn for MS Outlook 2010. This addin will place a control next to Search Textbox in outlook. But I don't know how to achieve this. I searched a lot but found addins for Ribbon/Pane. Any pointer would really helpful for me.
My Environment: VS2012 Ultimate, MS Outlook 2010, C#
You can't explicitly customize that area. A VSTO Task Pane or Add-in Express Form Region could give you some alternatives. Otherwise, you'd need to use the Win32 API and do some window subclassing to paint a control there, as per the technique used here:
Creating Adjacent Windows In Outlook in C++ for Visual Studio 2008
http://code.msdn.microsoft.com/OlAdjacentWindows/
I am using MS VS 2010.
I can not for the life of me find any instructions on how to install something like this to use on Microsoft Visual Studio 2010.
I was wondering how to install and use this control in this version of MS VS with C#.
http://www.denisbauer.com/ASPNETControls/DynamicControlsPlaceholder.aspx
I am making a very dynamic page with a lot of post backs and I think this has great potential!
I need to know how to get this one working bolded below:
Download (V2.2):
The sourcode is available in C# as a VS.NET project (Wont convert for
me)
A ready-to-use assembly (including help file). A demo shows the usage of this control. Sourcecode for this Demo (C#) or Sourcode for
the Demo (VB)
Any help would be greatly appreciated I can't find much information on this on the web. Perhaps I am using the wrong keywords... I am stuck on this at work for the time being and no-one here can help. Its become one of those aggravating programming moments were the fun is wearing off!
I saw one other post on here "Install Custom Control in VS Toolbox" But he too has no luck and I wasn't really looking to install it with a program. I swear I did this long ago with 2008 in college just through a process with MS VS.
Thanks
You need to store the assembly somewhere (we usually store them in an assemblies folder relative to the project), then add a reference to that assembly.
If the assembly supports being added to the toolbox, you can drag the assembly from windows explorer and drop it on the toolbox and it will automatically add all of the appropriate designable items to the toolbox. It is best, if you do this, to create a new tab to hold these items (right-click in the toolbox and select Add Tab).
If the assembly does support addition to the toolbox, your next step is to drag the item from the toolbox onto the page or control and visual studio should take care of wiring it up.
Otherwise, you will need to follow the instructions on the website or copy details from the sample projects to configure the control in your page.
I would like to add some features to the Outlook 2010 application.
Those features will include:
adding a button to the ribbon,
manipulating the calendar,
display Windows Form after the ribbon button is pressed.
I managed to find out that there are several ways to interfere with Outlook programmatically. They are: the object model, PIA, MAPI, and auxiliary APIs. (Source)
Which approach would you recommend to achieve the above requirements? I would like to use C#. Any tip on Outlook development is very welcome.
VSTO is probably the easiest way to do that, since it's got designer support in Visual Studio for working with the ribbon.
You can get started by using Create New Project in VS, and expanding the "Office" menu.
A major part of our work is creating and manipulating certain XML files, for which have a custom editor. The editor is starting to get creaky and we are looking at building a replacement. Since VS2010 has recently arrived, ostensibly with an improved add-in architecture (MEF?), I am interested in the possibility of building the editor as a custom editor within Visual Studio.
It would have to appear in the same way as the code editor or the Designer - a tab item, of which there can be many open at once, containing the GUI we use to edit the files. It would integrate with VS's Edit menu. It could use the output window to display messages. It would appear the same as any other editor within Visual Studio.
Right now, I am looking for examples of add-ins that work in a similar way - ideally with source code - to see whether this model would suit our requirements. I am also looking for any documentation or tutorials relevant to creating a VS2010 add-in, or information about VS2008 add-ins if this is still relevant.
Any input is welcome. Thanks!
You want to look at the Managed Extensibility Framework for VS 2010. Since 2010 is written in .net you can create add on components using it.
Code editor extension for VS 2010.
Working with MEF
Custom Editor Extensions
Update:
Since someone asked in a comment, I thought I would post this link on creating add ons for vs 2008: http://msdn.microsoft.com/en-us/vstudio/bb968855.aspx
I have the professional versions of VS2008 & VS2010.
I wish to add a couple buttons to a toolbar in Excel. When they are clicked I'd like to be able to open a form (either WinForms or WPF is fine) collect a few values from the user in the form and then take that data + read cell values from the current worksheet to perform some database operations.
What's currently the best way to do this using C#? I'd greatly appreciate a pointer to any examples / tutorials. My understanding is that VS2010 has improved the process alot but I may have to deal w/ Excel 2003 which I don't think it supports.
I get confused between Visual Studio 2008s Extensibility->Shared Addin template and other Office Addin templates I've seen. I'm not sure when which type of solution is appropriate.
I'm new to Office development so I'd really appreciate any help to get me going on the right track.
Thanks much.
A couple of starting points:
Walkthrough: Creating Your First Application-Level Add-in for Excel
How to build an Office COM add-in by using Visual C# .NET
Tips and Tricks: Building Microsoft Office Add-ins with Visual C# .NET
Also, you want to explore
.NET Excel Wrapper
.NET Excel wrapper was born out of
frustration from working with .NET and
Excel. The documentation for .NET
Interop.Excel is very scarce and the
API is bloated with hard to understand
parameters and methods that throw
unknown errors.
What .NET Excel Wrapper aims to do is
take the complexity out of working
with Excel in .NET and increase your
productivity, improve code readability
and reduce the amount of code you need
to write.
The default approach to extend office using .Net is VSTO. VSTO does support Excel/Office 2003; if you chose an Office 2003 project in Visual Studio, it will support 2003 and above, but by supporting 2003 you will be giving up some features which you can use if you target Office 2007 and above - like the ribbon or custom task panes.
Besides the links mentioned by KMan, I have a series of posts on my blog which provide a walkthrough for creating a Excel 2007 add-in with VSTO, which you might find useful.