FAQ Database Discussion Community

## Using single precision floating-point with FFTW in Visual Studio

c++,windows,visual-studio-2012,fftw
I am trying to use the FFTW library in a Visual Studio project, and I am having trouble with getting the floating point precision to work. I have created the library files and linked them as in this post and I have only included the libfftw3f-3.lib library as it says...

## Cannot create link between WorkItem and Server object in TFS 2012

visual-studio-2012,tfs,tfs-sdk
I'm trying to create a link from a work item to the current server version of a file in TFS via the API. I can do it within Visual Studio (2012) so I know it's possible. However when I try and do it via code it fails with TF201038: Linked...

## ReSharper Documentation Tags Formatting One Per Line

c#,visual-studio-2012,resharper
I'm trying to get ReSharper to behave properly when creating XML comments. When I see the preview it looks exactly how I want it to look but when I actually document a method or a class it isn't formatting as per the preview. I get this: /// <summary> /// The...

## Dapper, MS Access, Integers and “no value given for one or more required parameters”

c#,ms-access,visual-studio-2012,oledb,dapper
I keep getting the error "no value given for one or more required parameters" on the third attempt to insert in the code below. The first two attempts work fine. I'm running in .NET 4.0, against MS Access in VS 2012. And this problem appears to be consistent whether I'm...

## Label change when button click [closed]

html,css,visual-studio-2012
I'm trying to make a label change when I click a button, but for some reason it is not working. It was working until I made a little change, and i do not know what to do anymore. Can some one help? Here is the code: private void btnColorChange_Click(object sender,...

## How to successfully implement WPF textbox validation?

c#,wpf,validation,xaml,visual-studio-2012
I'm trying to implement what should be simple textbox validation for a WPF application, but I'm having some problems. I used this guide: http://www.codeproject.com/Tips/690130/Simple-Validation-in-WPF My textbox in MainWindow.xaml: <TextBox x:Name="textbox1" HorizontalAlignment="Left" Height="23" Margin="93,111,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" Style="{StaticResource textBoxInError}" Validation.ErrorTemplate="{StaticResource validationErrorTemplate}"> <TextBox.Text> <Binding Path="Name"...

## Pepper API error during the example

I'm starting to play around with the new Pepper API for an important project (phasing out Java) and I'm having an issue with this example. https://developer.chrome.com/native-client/devguide/devcycle/vs-addin I've installed the plugin to VS, added the paths, started the python webserver yet when I debug it gives me a 404... I'm starting...

## How to test a WebApi service?

c#,asp.net,rest,visual-studio-2012,asp.net-web-api
I'm really new to WebApi and I've been reading information about it but I don't know how to start my application. I already had a project with many WFC services with .Net 3.5. So, I updated my project to 4.5.1. Then I created a controller with the Visual Studio 2012...

## Visual Studio 2013 Build Error: Incompatible versions of SQL Server Data Tools and database runtime components are installed on this computer

sql-server,visual-studio-2012,visual-studio-2013,ssdt
I have Visual Studio 2012 and Visual Studio 2013 installed on my development machine. My SQL projects were created with VS2013 and they compile fine from Visual Studio, but they fail with the following message when I use MSBuild from the command line: Build Error: Incompatible versions of SQL Server...

## Redemption Cannot add Item to Folder

c#,visual-studio-2012,outlook-redemption
I'm writing a program in C# using Redemption to iterate through the RDOMail objects in a RDOPstStore and copy the ones marked as relevant to a new RDOPstStore. I can modify the folders in the RDOPstStore.IPMRootFolder, and do so to only leave one folder (Results). However when I go to...

## How to install C++ library to VS2012?

c++,visual-studio-2012
I am not familiar with the way to install the libraries. I've downloaded the library which I need and there are some *.h in the include folder and *.cpp in the src folder.But what makes me mad is that I don't know how to use them.Just put them into the...

vb.net,visual-studio-2012
I'm developing an OPC Client, everything was good until i get an HRESULT-FAULT Error, so i try this solution; error-hresult-e-fail-has-been-returned-from-a-call-to-a-com-component I execute this command : C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe /setup Then when trying to lunch VisualStudio V12 i get this error: Any help will be appreciated....

## Tfs and nuget: project files are forever in check out after build with restore nuget packages

visual-studio-2012,tfs,nuget
MS VS 2012 I have solution in tfs with enabled nuget packages restore. Every time when I build solution all my project files are cheked out with this changes: <Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" /> <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> <PropertyGroup> <ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet...

## What's the order of editor tab windows in Visual Studio

visual-studio,visual-studio-2012
When multiple tab editor windows are open for different files in Visual Studio, sometimes editor tab window shows, but sometimes it is hiding. When I was making the change for two files back and forth, after I change one file and want to go back to edit another file, but...

## Sync 2 list boxes to 1 scrollbar

vb.net,visual-studio-2012,scroll,listbox,listbox-control
I have 2 listboxes next to each other. One holds the order the other holds the total cost of the order. For obvious reasons i need both listboxes to scroll simultaneously. Here is what i have tried Private Sub lstOrders_Scroll() lstTotalsEachOrder.TopIndex = lstOrders.TopIndex End Sub Private Sub lstTotalsEachOrder_Scroll() lstOrders.TopIndex =...

## x64 program returns the correct SIDT value occasionally (x64 assembly)

c,visual-studio-2012,assembly,64bit
I use Visual studio 2012 and I created a x64 bit program that returns the value of the SIDT function (without the offset). The problem is that when I initially run the program, it returns the right value, but when I run the program multiple times, it returns the right...

## Visual Studio, Debug project that calls another project within the same solution file

c#,visual-studio-2012,visual-studio-2013
I have a solution in Visual studio with two projects. One project is a launcher application (calls different executable depending on the arguments, similar to how VS launches the approriate version depending on the .sln file) and the second project contains the executable called by the launcher. Is there a...

## VS 2012: Konfiguration Combo too Small

visual-studio-2012
Is it possible to change the size of this combo? Thank you!...

## Executable suddenly stopped working: silent exit, no errors, no nothing

c++,qt,visual-studio-2012,executable,exit
I am facing a rather peculiar issue: I have a Qt C++ application that used to work fine. Now, suddenly I cannot start it anymore. No error is thrown, no nothing. Some more information: Last line of output when application is started in debug mode with Visual Studio 2012: The...

## Toggle groups based on a parameter

sql,sql-server,visual-studio-2012,reporting-services,toggle
I have a reporting requirement in which I have 3 groupings Group_1 parents -> Group_4 lowest child I have a groupingID param which is an int that I'm using to show the same report either as region/div or emp/supervisor. Group_1 =totals and Group_4 = Employee and NULL for region/division. Updated...

## Where to specify preprocessor directives in visual studio?

c#,visual-studio-2012
Trying to define a preprocessor directives in the Visual studio 2012. #define FLAG .... #endif But not sure, where to include this FLAG in visual studio - C#. I remember specifying something like this in C++ projects. Any thoughts ?...

## Angular Structure Incorrect Somewhere

c#,angularjs,visual-studio-2012,angularjs-controller,angularjs-controlleras

## How do I avoid the loss of data after I rerun (debug) my program in Visual Studio?

visual-studio,ms-access,visual-studio-2012,ms-access-2013
I want to add a new record into an Access database which is already populated with data. When I initially run (debug in Visual Studio) and add the record, it is saved into that specific table. Then when I close the program and run it again, the record is nowhere...

Using VS2012 C/C++: I created and linked a static lib called "libtools" to my project. Calls to functions in the libtools lib worked as expected. I created and linked a second static lib called "shunt" to my project. But when I incorporate a call to a function in shunt, I...

## How come Visual Studio does not optimize structs for best memory usage?

c++,visual-studio-2012,compiler-optimization,struct-member-alignment
My question is why doesnt the Visual Studio 2012 compiler automatically reorder struct members for best memory utilization? The compiler seems to store the members in exactly the order they are declared in the struct definition, with some empty padding as required for member alignment. It seems like reordering would...

## Difference between vector and list [duplicate]

c++,visual-studio-2012,visual-c++
This question already has an answer here: vector vs. list in STL 11 answers I'm learning c++ language and I trying to find out what is the difference between vector's and list's. I am using visual studio tool for coding. Can someone explain what is the difference? ...

## Class Logic Not Returning Value

c#,class,visual-studio-2012
I have some code written in C#. My class is as follows. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DrivetimeFileDump { public class DriveTimeObject { public decimal? _Parts; public decimal? Parts { get { return _Parts; } set { if (value != null) { _Parts =...