Questions tagged as '.net'

1
answer

Export DataGridView headers

Through a datagridview I generate a TXT file where it only throws me the results How to export headers? TextWriter writer = new StreamWriter(@"C:\test\guest.txt"); for (int i = 0; i < dataGridView2.Rows.Count -1 ; i++)...
asked by 04.08.2017 / 00:06
1
answer

Visual error studio 2013

I just migrated a visual project from 2010 to 2013, and checking if everything was fine, I miss this error:    Unhandled exception of type 'System.BadImageFormatException' in   System.Windows.Forms.dll       Additional information: Unable to...
asked by 05.06.2017 / 09:36
2
answers

Background sound of Form

I have a method; public void SonidoAmbiente() { sonidoEntradaCarga = new SoundPlayer("Resources\Sonidos\ambient.wav"); sonidoEntradaCarga.PlayLooping(); } that I launch when starting my application, the au...
asked by 06.04.2018 / 14:44
1
answer

Error when opening a windows forms window

Well I have a problem wanting to open the forms of my project, previously if everything worked correctly, but since it works on a computer that was not mine, I took the project to my house, then I decided to return to my office computer, but whe...
asked by 13.03.2017 / 16:19
1
answer

Ajax CrossDomain Error: "Unexpected token:"

When I bring data from an AFIP service, I get the error  "Unexpected token:". Apparently the type of data it returns is incorrect, some solution? thanks My Js code is as follows: var WSAFIP="https://soa.afip.gob.ar/sr-padron/v2/pe...
asked by 27.12.2016 / 17:25
1
answer

Visual Studio 2012 Missing references

I have a problem with references in my Visual Studio 2012 project. Does anyone have an idea how to solve this? I already downloaded some updates of the framework and tried to update some packages but still I have this error. The problem I think...
asked by 07.11.2016 / 20:35
2
answers

Build a datatable from other datatables

Imagine that we have 3 datatables , each with a different number of rows, For example: DATATABLE A fila 1 - "a1" fila 2 - "a2" DATATABLE B fila 1 - "b1" fila 2 - "b2" fila 3 - "b3" DATATABLE C fila 1 - "c1" fila 2 - "c2" How can...
asked by 06.04.2017 / 10:00
2
answers

Something similar to Oracle Service Bus but from Microsoft

I am looking for something like Oracle Service Bus in .net, does anyone know what it is called as it can be used or in the last case how it could be implemented? Greetings     
asked by 27.07.2016 / 16:27
1
answer

Paint full row of a grid [closed]

I am here to consult the following, I use this to paint on the grid according to the condition I assign, but I am only painting that cell, I would like to paint the entire row, I was looking for information but I did not find if there was one I...
asked by 21.12.2018 / 22:49
2
answers

VB.net: Error closing server socket

Good afternoon, first I comment the resources that I am using with small modifications. sockets server I have taken from this manual. link The client is using the visual studio 2010 version of this web page. link I...
asked by 22.09.2016 / 16:32