Questions tagged as 'c#'

1
answer

Class with several referenced wcf services

I would like to know if the following is possible: I want to create a class that references several ws and that in the class has the properties that in the majority of the services use the same variables ... public class wsProcedimientos {...
asked by 22.11.2018 / 19:28
0
answers

Login WebApp against Active Directory .NET

I have a web app made in .NET, and when I deploy in the Domain Pool, I can login (against AD, not Azure). But if I do it from localhost (development machine) it tells me the following.    Authenticating error. Error obtaining group names....
asked by 21.11.2018 / 15:05
3
answers

error in can not convert from string to System.IO.Stream

Create a series of methods in a class to read and write text files, and in one of the methods I get an error: public static void CreateAllText(string path, string contenidos, Encoding encoding) { if (!File.Exists(path)) {...
asked by 06.12.2018 / 21:17
1
answer

Separate a string into parts

Hello, I need to separate the full name string: in .. textbox - > name textbox - > last name I need to return it here been trying this .. EmpleadoBL empleadoBL = new EmpleadoBL(); List<EmpleadoEL> lista = emple...
asked by 18.12.2018 / 15:19
0
answers

When using TableLayoutPanels, Visual Studio locks

When I use TableLayoutPanels Visual Studio starts to lock every time I do a movement of controls in that form and it recovers about 20 seconds later. Is it common for this to happen? It can be fixed? I use the Community version 2017.     
asked by 18.12.2018 / 20:40
1
answer

How do I communicate client-server applications in C #? [closed]

I have the following project that seeks to organize and control the flow of attention in a waiting room. The cycle begins when a patient arrives at the institution, takes turns in application A and that shift is saved on the server. From appl...
asked by 18.12.2018 / 21:19
1
answer

Assign positions to convert to a decimal

Good day to all, I hope and you can help me because I can not move forward. I have a checklistbox that is filled with sp and activated by checkbox, the sp brings me the following values: Text SwitchId S...
asked by 26.10.2018 / 18:17
0
answers

Image processing with WEB REST C #

I am making a mobile application with Android Studio and I synchronize it through a WEB REST in C #, the problem is that when synchronizing the images between SQLite and SQL Server, it sends me an error in the data types in my Web Rest. I clarif...
asked by 29.10.2018 / 19:08
1
answer

SendKeys does not work in C # in Visual Studio

I want an application that when pressing a button, the keys Alt + F4 are automatically pressed to close for example the form (it would be easier to close it by code and not having two keys pressed, but it is an example). In short, SendKeys do...
asked by 28.11.2018 / 12:26
4
answers

Redirect to a page with its corresponding id

Implement this code so that it works as it should be, when pressing the button, direct me to an entry corresponding to that id. My idea was this but it is clear that it is wrong. <button class="btn btn-xs btn-default" title="Editar"...
asked by 13.11.2018 / 16:38