Questions tagged as 'c#'

1
answer

What does int mapped int32 or int32 mapped int mean?

Ando watching some tutorials and always say those two words, can someone explain to me what is meant by mapped? , I searched through dictionaries (wordreference.com) among others and I can not understand what they refer to. Thank you very muc...
asked by 18.12.2016 / 00:24
2
answers

Using .Zip or linq in c # to add two fields from a series of objects contained in two lists

I have a list of objects List<Objeto> lista1; List<Objeto> lista1; Object has an attribute X and an attribute Y . I want to do the following: List<Objeto> listaSuma => add the values Y o...
asked by 11.01.2017 / 15:17
1
answer

How to replace a line break of a richTextBox with a space c #

Good morning ... I have a richTextBox in which I enter a text then that text I pass it to string , then that same string I put it in textbox . But when I assign that string to textbox the line breaks that...
asked by 17.11.2016 / 18:12
2
answers

Subtract product stock when making a Sale

I am working on a desktop application in Windows Forms and MySQL as a database manager. How do you rest in inventories when you make a Sale? That's the code I use for the save sales button. The data is added to a sale table, and the fi...
asked by 16.11.2016 / 16:34
2
answers

How to obtain the name of the operating system used by the client with ASP.Net MVC 4.5?

I'm trying to get the name of the operating system that the client uses when he's using my web application, so far I've only been able to get the name of the operating system where the application is running. ManagementObjectSearcher searcher...
asked by 22.11.2016 / 20:50
3
answers

Pass arguments to executable.exe c #

I created an application in c # very simple. static void Main(string[] args) { Console.WriteLine("Cantidad de argumentos: {0}", args.Length); foreach (string argumento in args) { Console.WriteLine("Argumentos: {0}", argumen...
asked by 20.09.2016 / 07:06
1
answer

How to read POP3 emails from C #?

What I want to do, is read a type of attachment, for example those that are .pdf, of those emails that have not been read. To begin, I was trying with a simple example to read, but it tells me the following message: Server did not accept user...
asked by 01.11.2016 / 19:09
1
answer

C # - Understanding events, eventhandlers and delegates [duplicated]

I have to know if I have clear 4 points that I will explain: 1- A delegate is a type of data that is created in order to store method addresses (to be called later) with a specific signature. Is this correct? 2-An event is declared in a...
asked by 04.08.2017 / 04:32
1
answer

Query about fix c #

I am running stored procedures in my project WCF C# . From one of my SP I receive something like this: CeldaId CeldaIndicadorCodigo CeldaIndicadorTipoCodigo Then with the value of Celda Id I call another SP that brings me: Ce...
asked by 25.10.2016 / 15:50
1
answer

Full list Skype Uri

Good morning, right now I am working on a project to manage certain Skype functions through URIs that they offer, such as for making a call, which has the following form. <a href="skype:usuarioallamar?call">Llamar</a> Now, I und...
asked by 25.10.2016 / 20:56