visual-studio-2012

Microsoft report viewer object

…衆ロ難τιáo~ 提交于 2020-01-24 08:50:15
问题 I am developing a c# windows form application on Microsoft Visual studio 2013 Express for windows desktop also i am using SQL server 2012 express with Advanced features included reporting services. and my operating system is Windows 8.1 64bit. (I am also trying this on Win 7 64bit Pro) So... SQL server with reporting services is installed, .Net Framework 4.5.1 is installed. and microsoft report viewer 2012 runtime is installed on my computer. My problem is however those components are already

How to get Visual Studio 2012 to grey out ifdef instead of dimming it

核能气质少年 提交于 2020-01-24 03:18:46
问题 In our code there are lots of passages that are ifdef'ed out. With the former version of Visual Studio, they had been greyed out. With Visual Studio 2012, however, they are no longer greyed out but dimmed, i.e. these passages appear with all the colours of the syntax highlighting scheme, but with less saturated colours. The programmer at Microsoft who implemented this must have thought this very cool, but in practise it makes it really hard to tell if a passage is active or inactive. Has

Enlarge an image on mouseover in Popup in WPF

左心房为你撑大大i 提交于 2020-01-24 01:49:08
问题 Hi all I've looked through several of these forum posts with different solutions but can't seem to get it. My style <Style x:Key="ScaleStyle" TargetType="Image"> <Style.Triggers> <Trigger Property="IsMouseOver" Value="True"> <Setter Property="Grid.ZIndex" Value="1"/> <Setter Property="RenderTransform"> <Setter.Value> <ScaleTransform ScaleX="2.5" ScaleY="2.5"/> </Setter.Value> </Setter> </Trigger> </Style.Triggers> </Style> My UniformGrid with images: <ListView Grid.ColumnSpan="5" Grid.Row="11

Datagridview customization and formatting

拜拜、爱过 提交于 2020-01-24 00:46:11
问题 I have a datagrid and a datatable . Values in datagrid came from datable. Now the cell values is in decimal and I want to change the format to 2 decimal places but here's my problem not all cell values is integer also it contain STRING VALUE like N/A . Here's my sample datagrid filled with data: Name | Col1 | Col2 | ----------------------------------------- xxx | N/A | N/A | yyy | 12.1999999 | 23.012355 | zzz | 0.12366666 | 12.357878 | I already tried datagrid.columns(1).DefaultCellStyle

Format Code (Strg K + D) in VS 2012

故事扮演 提交于 2020-01-23 16:58:47
问题 if I press STRG K + D in VS2010 the code (e.g. HTML, ASPX) will be formatted and empty lines will be deleted. If I use this shortcut in VS2012 the empty lines will not be deleted. Is there a way to do this? 回答1: I use the following combination to auto format indentations of my code in VS2012. Ctrl + A to select all the code in a file to be formatted. Or you can select just a block of the code. Ctrl + K , then Ctrl + F will format the code with proper indentations. No deletion of empty lines

Visual Studio 2012 Installer Project in VS 2015 “The application is not installed” after installing Visual Studio Installer Projects in 2015

╄→гoц情女王★ 提交于 2020-01-23 16:17:55
问题 I have an installer project I created using Visual 2012's built-in InstallShield Limited Edition Wizard. I have a need to modify this project on a new computer. The source code was saved and obtained via Team Foundation Server. So far, I've opened the solution in Visual Studio 2015, installed the Visual Studio Installer Projects Extension, and I'm still receiving the (incompatible) message along with the collapsed message "The application is not installed" for the installer project

Visual Studio 2012 Coded UI Testing of Web Application - Code coverage

吃可爱长大的小学妹 提交于 2020-01-23 07:24:25
问题 I have a web application. I am using VS 2012 Coded UI for testing the web application. I have recorded the test and running it, and it works fine. But the code coverage window gives code coverage of the test project only, it doesnt give code coverage of the website project and other dll project which is referred in the web project. I have added the testsetting file in the solution and selected the same. Any clue? 回答1: Couple of things to verify a) Have you added all these assemblies into the

Static ZLIB (1.2.8) linking on Visual Studio 2012

北城以北 提交于 2020-01-23 05:53:34
问题 I can't, for the love of God, to static link the ZLIB libs. I have been struggling for a couple hours now with no success. Well, I have followed this tutorial and successfuly compiled both zlibstat.lib and zlibwapi.lib for 32 bits. After setting up my project to use the ZLIB folder with the libraries (Linker > General > Additional Library Directories) and setting zlibwapi.lib (only) as an dependency (Linker > Input > Additional Dependencies) I got it to work , however, that was a dynamic link