Questions tagged [vsta]

Visual Studio Tools for Applications (VSTA) is a set of tools that independent software vendors (ISVs) can use to build customization abilities into their applications for both automation and extensibility. VSTA was announced by Microsoft with the release of Visual Studio 2005.

Visual Studio Tools for Applications (VSTA) is a set of tools that independent software vendors (ISVs) can use to build customization abilities into their applications for both automation and extensibility. Those customization abilities can be used by end-users to tailor the ISV's application within a managed extensibility environment just like VBA.

Visual Studio Tools for Applications was announced by Microsoft with the release of Visual Studio 2005

Visual Studio Tools for Applications (VSTA) is based on the .NET Framework and is built on the same architecture as Visual Studio Tools for Office (VSTO). Visual Studio 2005 Tools for Applications is based on the .NET 2.0 framework and Visual Studio 2005, while Visual Studio Tools for Applications v 2.0 is based on the .NET 3.5 SP1 framework and Visual Studio 2008. Some of the technology developed for Visual Studio for Application (VSA) was incorporated within Visual Studio Tools for Applications.

53 questions
2
votes
1 answer

Unable to install Visual Studio Tools for Applications from Microsoft Office Enterprise 2007

When going to 'Add or Remove Features ' > Microsoft Office > Microsoft Office Infopath > .NET Programmability Support > .NET Programmability support for .NET Framework version 2.0 > Visual Studio Tools for Applications (set this to "Run from my…
MDuB
  • 361
  • 1
  • 4
  • 15
2
votes
1 answer

Create a custom control in Corel Draw X6 using only VSTA

I am in the process of creating a plugin (or addin) for CorelDraw X6 using VSTA (Visual Studio for Applications) because I like C# and .NET library. I would like to have a button in CorelDraw toolbar, so when a user clicks this button some action…
astafan8
  • 143
  • 2
  • 7
2
votes
0 answers

InfoPath code behind won't build in x64

I've just moved to an x64 Server 2008 R2 based development machine for my SharePoint goings on. I've discovered that when calling the SharePoint object model SPSite constructer that I get back a FileNotFoundException but no more detail on what…
Daniel Revell
  • 8,338
  • 14
  • 57
  • 95
2
votes
1 answer

Crash while preserving excel handle

When firing up my Excel add-in, I preserve a handle to an Excel window using the following code: ExcelWindow = new NativeWindow(); ExcelWindow.AssignHandle(new IntPtr(Application.Hwnd)); When it comes to releasing a handle, I try to do it while…
Dmitri Nesteruk
  • 23,067
  • 22
  • 97
  • 166
1
vote
2 answers

Which IDE should I use for developing custom code for InfoPath Forms, VSTA or VSTO?

I am new to developing for Office Forms Server / MOSS 2007. I have to choose between designing my web-based forms and writing code for them in Visual Studio Tools for Applications (aka VSTA) or Visual Studio Tools for Office (aka VSTO). VSTA is…
Saul Dolgin
  • 8,624
  • 4
  • 37
  • 43
1
vote
1 answer

Why is SSIS script component opening in Advanced mode?

I'm trying to edit a previously working SSIS script component in Visual Studio. But when I open with 'Edit...' it instead opens the 'Advanced Editor'. This means that I can't get to the 'Edit script' button. How do I get i back? The error list…
Martin Thøgersen
  • 1,538
  • 18
  • 33
1
vote
2 answers

Edit Script button in SSDT_BI2012 doesn't work

I'm a new to SSIS development and I'm using a 64-bit computer on Windows 7. I wanted to change a script task, but when clicking on the 'Edit Script' button nothing happens. Here is the ScriptLanguage searched: I tried a new installation VS2012 and…
Mariana H
  • 11
  • 2
1
vote
1 answer

SSIS script task losing code when importing into SQL Server 2016

In my production environment I have Visual Studio 2015 with SSDT 17.4 and SQL Server 2016 on Windows Server 2016. I have several packages that contain script tasks that run C# code that work from the debug mode when you run them inside Visual…
1
vote
1 answer

How to reference active document in Solidworks when there are multiple instances

I am using the following code in Solidworks 2017 Visual Studio Tools for Applications. It's Microsoft Visual Studio 2005 Version 8.0.50727.42 running Microsoft Visual Basic 2005 and Microsoft .NET Framework Version 2.0.50727 SP2. Public Sub…
abqsteve
  • 21
  • 5
1
vote
0 answers

Script Tasks losing code in SSIS 2016 (VSTA 2015)

I have an SSIS package with a number of For Each ADO Loops, each with a single script task, which are usually working fine. However, every so often, the script task will suddenly 'forget' all the code in task. I'm presented with an empty task…
1
vote
1 answer

InfoPath 2013 development with error "Cannot start debugging. Pre-debugging negotiations with Host failed."

I am using Visual Studio 2012 (exclusively for InfoPath development, nothing else because of Microsoft) and Visual Studio 2013 for other development including SSRS, SSIS. I made a move to 2015 last week and that is where troubles came. After…
Shinigamae
  • 854
  • 3
  • 18
  • 35
1
vote
1 answer

SolidWorks API, Macro working in VSTA but not from dll

Really appreciate who can spend couple of minutes to help me out, so thanks in advance ! Got myself into situation where running macro in VSTA works (vb.net), but running dll files from solid works does not work. Probably forgetting something very…
Alar
  • 11
  • 3
1
vote
1 answer

If I move a form with VSTA code-behind into Visual Studio, will end users require the VSTO runtime?

I have an existing InfoPath 2007 form that has some code-behind developed with VSTA. It has been deployed to SharePoint as an administrator-approved form but is not browser based - the InfoPath client opens when users fill in a new form. I'd now…
Alex Angas
  • 59,219
  • 41
  • 137
  • 210
1
vote
1 answer

Call an infopath textfield in codebehind using c#

I have 2 textfields: Textfield 1 - the user types an input number Textfield 2 - You get the result from what the user typed in the first textfield. public void Txb1_Changed(object sender, XmlEventArgs e) { AdoQueryConnection conn =…
pancake
  • 590
  • 7
  • 24
1
vote
0 answers

Launch .net-assembly in its own process, pass it an object

I am writing a VSTA 20151 enabled app. In it, I need to load an assembly, access a well-known method (a constructor, not that it matters), invoke it, and pass it a COM object (wrapped up so it is a .net object naturally). This works fine. Now, in…
Yakk - Adam Nevraumont
  • 262,606
  • 27
  • 330
  • 524