I have a COM component written in C# that implements ISmartTagAction to add actions to the right click menu for things like mail recipients and senders.
It's just a .NET class library that exposes some classes through COM interop. Currently, I deploy this with a Visual Studio Setup project. That installer just registers the DLL for CO...
Please, help me I want to add mysql reference in visial studio 2008 but I cannot find it. Can I download mysql reference and add it in to visial studio or not, or what should I do ???
...
Hello,
I work on a VSTO in c#. When I click on button I save attachment in a folder. My problem is : when I have a rich email with an image in the signature, I have a element in my attachment. But I don't want save that image. Outlook (application) hide this attachment in the area attachment ! So why not me :-(
My code is very simply :...
I've got a VSTO 3.0 Word addin that I'd like to profile using VSTS Profiler.
When I try to run an instrumenting run with the profiler, though, I get a warning that it can't be instrumented because the Addin DLL is signed, which, from what I know about VSTO, they have to be signed.
Is there any way to "turn off" the signature verificati...
I've got a VSTO 3.0 Word Addin. Around here, they do all work off network drives (for backup reasons, etc etc).
Anyway, when I'm in the IDE, I can run my project, it automatically starts Word, i can debug, break, etc, just fine.
HOWEVER... If I compile the project, then run Word OUTSIDE of the ide, the Addin registry entry is, of cours...
I'm developing a Word 2010 add in using Visual Studio 2010, and C#.
I've created a simple form, with two textboxes, and an Ok button.
The Ok button's Causes validation property is set to true.
Both textboxes CausesValidation property is set to false, and their Validating and Validated properties are set. This is so that they are only v...
I have an Excel plug-in (written in C#) with a static variable that is at the heart of a singleton data cache:
static DataCache _instance;
This is accessed via three different code paths:
Event handlers on a VSTO ribbon-bar initialize the instance, and also read it for display in helper dialogs
An RTD server (a class that is declare...
I'm trying to create a Word 2010/2007 VSTO add-in and have run into a couple of questions:
If I use the Backstage View and
other 2010 features in the Ribbon,
how will Word 2007 handle them?
(i.e. do I need to do some kind of
conditional checking for version? If
so, how?)
The whole Primary Interop thing. Does setting a reference to Word...
I've got an Excel 2007 Workbook that uses mixed VSTO/VBA automation that I'm trying to deploy. Everything was working pretty well, but now I'm running into a stubborn issue with allowing my VBA code to make calls into the VSTO compiled code.
I've set up my VBA and code-behind according to the walkthrough posted at http://msdn.microsoft...
Hi,
When I try to compile my VSTO Outlook addin, I get this error:
Reference to class 'RibbonBase' is not
allowed when its assembly is linked
using No-PIA mode
Can't seam to find a solution to it online.
Any idea?
Thanks!
Mojo
...
Hello,
my problem is blocked VSTO word 2007 addin.
Once the addin breaks down, in non-debug mode, its unable to reenable it from word (set its status from inactive to active).
The only way to do this is to recompile the plugin.
I tried with LoadBehaviour=3 (word sets this value immediately into 0, after its run). There ae no Resiliency e...
Hello,
My application is supposed to parse a text file (relatively easy) and create an excel spreadsheet report.
Should I write a stand alone VB.NET application that saves the excel file, or should I use VSTO? I am unsure if there are any differences in terms of ease of development, usability issues, API functions available, etc.
Are...
I'm trying to check a presentation for the fonts that exist in it. This can be done with ActivePresentation.Fonts. I also want to check if the font is normal, bold and/or italic. Bold and Italic are easy, but Normal is not. For example, say I have two text boxes, one of them has "Hello World" in Arial Italic and another the same in Arial...
I am writing a custom Lucene.NET indexer to enable indexing of MS Word documents. The indexer must be capable of handling last three releases of MS Word: 2010, 2007 and 2003.
The plan is to use VSTO interop assemblies that are installed as part of VS2010 to extract text content from the documents.
Is there a better way to implement Wor...
I need to append programmatically (VBA/VSTO) several special symbols (e.g., smileys) into text in a TextRange in PowerPoint 2007.
I can insert a symbol using:
With ActiveWindow.Selection.TextRange
.Text = "sometext"
Call .Characters(.Characters.Count + 1).InsertSymbol("Arial", 65, MsoTriState.msoTrue)
End With
Unfortunately, w...
Hey,
I have been experimenting with creating an Excel add in in C#. I was wondering if it is possible to programatically create a drop down list for a column where the items do not have to be in the worksheet? That is, I know it can be done using a data validation and a range of cells but I do not want the list of drop down items to b...
I'm trying to get MailItem.To .CC and .From and from what I've read it's supposed to be a semicolon delimited string.
I'm looking for "[email protected];[email protected]" but i'm getting back "John Smith;Jane Smith"
which is funny because the outlook address book does not contain any contacts so the name is coming from the john smith<[email protected]> f...
I need to save some custom infos into a word 2010 document, I can use hidden texts, bookmarks, custom doc properties, content controls, etc, but all of these methods cannot work with large data very well, and these methods are fragile and are't very flexible. So I want to use custom XML parts, which can hold large data, and are flexible....
For me it is almost nostalgic to subclass AxHost for Windows Forms. But this need seemed necessary for a VSTO project of mine. So this was my move:
using System.Drawing;
using System.Windows.Forms;
using stdole;
namespace Songhay.Office2010.WordWalkingStick
{
/// <summary>
/// Exposes selected static members
/// of <see cre...
I'm trying to find a way to update a RibbonMenu's items (like a few RibbonButtons) when the RibbonMenu is clicked (i.e. something like a BeforeDropDown). I know I can update it with the event of another control, but how do it update it when it is clicked?
This http://msdn.microsoft.com/en-us/library/microsoft.office.tools.ribbon.ribbonm...