Questions tagged as 'visual-studio'

3
answers

Add column of DataGrid only with valid values

I'm using this function to add a column from my datagrid public void Somatorio() { decimal total = 0; foreach (DataGridViewRow row in dgv_inico.Rows) { total += Convert.ToDecimal(row.Cells["valor"].Value); } lbl_so...
asked by 09.10.2017 / 16:03
3
answers

How do multiple projects have the same post-build event?

I have a Visual Studio solution with 277 projects. And I would like everyone to have the same post-compilation event. Basically, they would run an executable that is in the application folder. Anyone have any suggestions?     
asked by 06.04.2015 / 20:14
1
answer

How to hide pictures from the 'Resources' folder?

How do I create a file to put the images in the 'resources' folder? I do not want people using my program to have access to them. The file can be any extension.     
asked by 06.02.2014 / 12:58
2
answers

dataGridView1_CellDoubleClick does not work!

I have the simplest function in the world and I can not make it work. When giving 2 clicks on any cell in my datagridview I want it to display the message "1" but it is not working! What's wrong? See my code: private void dataGridView1_...
asked by 16.06.2016 / 01:27
1
answer

Creation of Cortana app in Portuguese is not working

First I created the following xml: <?xml version="1.0" encoding="utf-8" ?> <VoiceCommands xmlns="http://schemas.microsoft.com/voicecommands/1.2"> <CommandSet xml:lang="pt-BR" Name="CommandSet_pt-BR"> <AppName> Ap...
asked by 04.09.2016 / 06:24
1
answer

How to keep MVC application running in IIS Express (in Visual Studio) after stopping the debug?

I'm doing a project in ASP.Net MVC. On the company machine I run the project once (F5), stop the debug and continue accessing the application pages normally. On my personal machine if I stop the debug, the page says that it is not possible to...
asked by 06.03.2017 / 23:57
2
answers

I can not connect the localDB with visual studio

I'm trying to use the entity framework in Visual Studio, but when I try to run the program it generates the error: System.Data.SqlClient.SqlException was unhandled Class=20 ErrorCode=-2146232060 HResult=-2146232060 LineNumber=0 Me...
asked by 16.11.2015 / 18:50
2
answers

Develop for iOS using C # in Visual Studio

I already developed in Java / Android, and wanted to develop for iOS, however the cost of having a Mac is expensive, I already have an iPhone. I saw that it was possible to develop using C # in Visual Studio for iOS. So, is Xamarin worth it?...
asked by 13.08.2014 / 02:17
1
answer

Installing Visual Studio 2015 Community with SQL Server

I installed Visual Studio Community 2015 and wanted to connect it to SQL Server, but as far as I understand I do not need to install SQL Server, I just need to download SQL Server Data Tools. Is that right?     
asked by 29.10.2016 / 19:57
2
answers

How to put Qt 5.7 with MSVC2015 to work?

I have Microsoft Visual Studio Community 2015 for some time. I installed Qt 5.7 via online installer and included msvc2015 (already checked) in the installation program list. I tried to use Qt Creator, but it gives a compilation error. The...
asked by 18.01.2017 / 13:57