Questions tagged as 'c#'

1
answer

How to get the coordinates of the body in a file.txt in Visual Studio, C #

Very good, I am trying to save in a file.txt the coordinates that Kinect gives me of the different Joints of the body in Visual Studio. But as it is an array of type object it does not let me pass to string by the following form: This would be t...
asked by 22.05.2017 / 08:56
2
answers

How to empty label when selecting a different value in combobox?

I have a form with a combobox made up of Locations, 2 buttons (Show and Exit) and a label that shows the location in the combo and name of the corresponding locality: What I need is, if there is a location selected as the example...
asked by 24.05.2017 / 00:20
2
answers

nails with WPF in c #

Public Sub NotificarCambio(ByVal Propiedad As String) RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(Propiedad)) End Sub This is in Visual Basic How would it be in c # ?     
asked by 25.05.2017 / 00:00
1
answer

C # exception error

Hello, I have made a small program that basically encrypts any file the code is as follows: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; namespace Crypte...
asked by 29.03.2017 / 21:57
1
answer

Visual Studio 2017 Does not detect DataSet

I do not understand why it happens, because if I enter the class inside the app_code folder on the website there is no problem, I'm new with c # and mysql I'm sorry if it's silly, on the other hand, the connection string is it okay ?...
asked by 21.03.2018 / 20:01
2
answers

Read a value between two labels in a string

I am receiving an xml in the form of a string Example: POST xml.xml HTTP/1.1 Content-Type: application/xml Content-Length: 280 <?xml version="1.0" encoding="ISO-8859-1" ?> <NODO1> <PARAM1>VALOR1</PARAM1> <PA...
asked by 20.03.2018 / 19:24
1
answer

How to get the .jpeg files from a directory?

As I can only get the .jpeg files from my directory, I currently have a code that would be the following: var directoriosE = Directory.GetFiles(@"..\..\Imagenes\Imagenes_Modal\Usuario\"+folder, "*.*", SearchOption.AllDirectories).Where(s =>...
asked by 05.04.2017 / 18:13
1
answer

How to delete files or folders in use? C #

I would like to know the way in which my folders should be deleted within my C # application, the images that are inside my folders are in use, not all of them only, so I would like to know how to remove that use or close the image before deleti...
asked by 05.04.2017 / 21:50
2
answers

Tour DataGridView in C #

Good day requesting your support to go through DataGridView in C # and get the value of each ID in a column ie if I have a number N < /> ID's within DataGrid , by double clicking on each one of them send me a Mes...
asked by 07.04.2017 / 17:31
2
answers

XAMARIN, call another activity

I would like to be able to move in Xamarin for different Activity, from the MainActivity from a button I can go to the next activity (MenuNumeros): base.OnCreate(bundle); SetContentView(Resource.Layout.Main); Button button =...
asked by 05.04.2017 / 15:42