Questions tagged [vsto]

Visual Studio Tools for Office (VSTO) is a set of development tools for creating Office automation solutions (add-in or document customization), using .NET and the Visual Studio IDE.

Visual Studio Tools for Office (VSTO) is a set of development tools for creating Office automation solutions (add-in or document customization), using .NET and the Visual Studio IDE.

It is expected that questions about VSTO relate to specific programming problems.

This tag should be used on questions about:

  • How to modify ribbons to behave in a certain way
  • How to certain information about a range of text or shape
  • How to access or modify styles
  • How to deploy add-ins and document customizations, e.g. using ClickOnce or an MSI
  • Writing code for any desktop Office application

This tag should not be used for:

Related Tags:

Links:

6576 questions
2
votes
2 answers

.Net Localization problem

I am currently building an Excel 2007 Add-in using VSTO (latest version + sp1) and .Net 3.5 The code simply takes the position a chart using the Top and Left properties and stores it in an XML file. The problem im facing is that when the xml is…
Alexandre Brisebois
  • 6,599
  • 12
  • 50
  • 69
2
votes
1 answer

Read bookmarks in outlook MSG file with C#

My goal is to somehow be able to read bookmarks in an outlook .msg file, then replace them with a different text. I want to do this with C#. I know how to access the body and change the text, but was wondering if there was a way to access directly…
Mana
  • 1,925
  • 6
  • 39
  • 55
2
votes
0 answers

Excel AddIn : Hide a datafield in a pivottable

I'm trying to control an Excel (2010) PivotTable from a VSTO (excel AddIn) in C# (4.0). I've got no problem adding PivotFields (Dimensions) and DataFields (Measures) to the PivotTable. The problem is I can't remove a DataField. My DataField is a…
krimog
  • 1,257
  • 11
  • 25
2
votes
1 answer

Out of Memory failure automating VSTO Powerpoint API

I am using the VSTO Powerpoint API to automate the creation of Powerpoint files. What I have found is that using the most basic call to create a Powerpoint file from a web application on a Windows 7 system causes an out of memory error (other VSTO…
stevebot
  • 23,275
  • 29
  • 119
  • 181
2
votes
1 answer

VSTO Outlook Add-In: How to capture reply-to-all, reply, and forward events?

I am having trouble capturing the reply-to-all, reply, and forward events in Outlook 2013 (using VSTO for 2010). Currently, I am having no problems with Inspector class, since those open a new window. But when I click Reply or Reply-To-All in…
Water
  • 1,114
  • 1
  • 15
  • 31
2
votes
0 answers

Outlook 2010 VSTO - Prevent form New Appointment from showing

Here's the current situation: Whenever you create a new appointment in Outlook's calendar, the default form will show up which you can use to create the appointment. Now it's possible to add an event-listener to whenever a new item has been created…
JKMurray
  • 37
  • 3
2
votes
1 answer

VSTOR 4 Framework MSI Deployment via Group Policy

I developed an Outlook 2010 Add-In, which is going to be deployed on hundreds of machines. In order to deploy the add-in, I made use of the Microsoft's ClickOnce mechanism. The add-in relies on Visual Studio Tools for Office 2010 Runtime framework…
EARNEST
  • 107
  • 4
  • 11
2
votes
1 answer

Log4net log files not created?

We are using log4net in our outlook add-in application, it was worked fine. We are used VSTO 2010 (its supports outlook 2007 and 2010). For some reason we updated the VSTO version in our system (its supports outlook 2007, 2010 and 2013). After…
harisharju
  • 334
  • 1
  • 11
2
votes
1 answer

VSTO Word AddIn: MessageBox Timing Issue

Hi! I'm working on a VSTO Word Addin that helps the user to replace certain words in a given text. A dialog guides the user through the replacements. Now, when the user replaces the last word I want to display a MessageBox that he is done. There…
Stefan
  • 452
  • 4
  • 13
2
votes
1 answer

How to get rid of the menu bar of a custom task pane?

Hello, I have constructed a simple custom task pane for Excel, and woud like the top of the user control inside the pane to align with the top of the column headers, but there is an ugly menu bar on the top preventing it from doing so (picture…
David Deutsch
  • 17,443
  • 4
  • 47
  • 54
2
votes
3 answers

Cell_Changing event in Excel

Is there something equivalent to Cell_Change Event in VBA or even VSTO that would fire BEFORE the user input is committed into the cell? I need to add some checks just before a new value is entered in a cell. By the time the WorkSheet_Change event…
dotNET
  • 33,414
  • 24
  • 162
  • 251
2
votes
3 answers

How to redistribute Visual Studio 2010 Tools for Office Runtime with InstallShield correctly?

Using: VS 2012, InstallShield 2012 Spring Express For my Excel Add-In I need to redistribute to prerequisites: - Microsoft .NET Framework 4.5 Full - Visual Studio 2010 Tools for Office Runtime There is no problem with .NET Framework in any case. I…
RomanVD
  • 25
  • 1
  • 2
  • 7
2
votes
3 answers

VSTO find ContentControls of a Word Document

Is there a way to find all ContentControls of a WordDocument (including ContentControls in Headers, Footers, TextBoxes ...) using VSTO? Microsoft.Office.Tools.Word.Document.ContentContols returns only the ContentControls of the Main-Document, not…
crauscher
  • 6,528
  • 14
  • 59
  • 85
2
votes
1 answer

Restore Office Environment to Default after development

After I develop my add-in for Microsoft Office ( and in the process messed up all my menu bars and tool bars) using Visual Studio For Office, is there anyway to restore the MS Office to default? For the record, Clean Solution alone is not enough!
Graviton
  • 81,782
  • 146
  • 424
  • 602
2
votes
3 answers

ClickOnce/Excel-VSTO under Windows 7

We have developed a .Net 4.0 VSTO Excel AddIn in VS2010 that we are deploying via ClickOnce. Our deployable seems fine on Windows XP but is extremely problematic when installed on Windows 7. The problems all seem to relate to when the AddIn needs…
Travis Ingram
  • 387
  • 5
  • 21
1 2 3
99
100