Questions tagged as 'c#'

1
answer

Push notifications

I'm developing a program where multiple users will use, and would like to develop a system with Push notification, so when any user makes a Insert in the database. I would like it to be, for example, a pop-up of MSN .. Could...
asked by 11.04.2017 / 02:49
1
answer

Compare and replace text in large volumes of data

I have a data dictionary with a few abbreviations and I need to go through a list containing dozens and even hundreds of paragraphs in order to compare words and replace words with those abbreviations. What is the alternative (or best way) to...
asked by 11.04.2017 / 16:37
3
answers

How do I give Enter and Run my button SEARCH

I created a program that has the Client Search field that loads the Clients in the listView. I want to search by filling in the TextBox and pressing the Enter Key     
asked by 14.04.2017 / 17:47
1
answer

Control number of user accesses in Windows Forms

I am creating an application in Windows Forms and would like to control for users to log in to a single station that is running the application. In an earlier version, my solution was to keep a shared folder on a server and when the user logged...
asked by 10.06.2017 / 13:19
1
answer

Gradient Xamarin Forms

I'm doing the screens of a Xamarin app with XAML, and wanted to put a gradient background is it possible? For now the code is this:                                         
asked by 16.05.2017 / 21:30
1
answer

Abstract Form Inheritance

I have a default Form, with a textbox , a search button, and a grid; as I intend to use it for several searches, I left an abstract search method () and at the same time the form as abstract ... When inheriting this form, implement in the...
asked by 24.04.2017 / 01:22
2
answers

how to auto-detect a serial port, instead of putting it manually

Instead of having to manually put the port in the txt field, how to make it auto-detect and fill in the field? private void btnSend_Click(object sender, EventArgs e) { try { SerialPort sp = new SerialPort();...
asked by 23.04.2017 / 22:36
1
answer

Google Consent Screen Does Not Open

I made an application that has the function of backing up to Google Drive, but it does not work when I put it on some server, it works only in localhost . What happens is that it does not open the consent screen on the servers, it follo...
asked by 30.03.2017 / 19:30
1
answer

CTeDistribuicaoDFe - Problems querying webservice

I'm trying to query the webservice of the Sefaz. " link " I'm getting the error below:    "403 Forbidden - Access Denied". The message seems to be clear, but I am passing a valid digital certificate. Follow the code snippe...
asked by 28.03.2017 / 15:48
1
answer

Call Action via javascript

Good afternoon, I need help with a simple problem, but it's knocking me down. I need to call a controller method and pass two parameters to it, I did something, but it's not working, does anyone know where I'm going wrong? View <input...
asked by 13.03.2017 / 19:33