Questions tagged as 'c#'

0
answers

Communion socket in Windows service [closed]

Next, I have a problem with an application that I am developing, I need to communicate between a Windows service and a web application, the Windows service will stay on the local machine (client) and I need somehow to communicate with this Windo...
asked by 04.11.2017 / 21:31
0
answers

I can not resize Popup in my App

I downloaded a project and I have a popup working. I was doing the same thing on my project and nothing. It does not make any mistake, only the popup does not rise as it should, it occupies the whole area of the mu App. I put a button in the pop...
asked by 04.11.2017 / 22:16
1
answer

DataGridView - Edit by CurrentRow.Index does not exit Index 1

   Note: I am learning to use the DataGrid, so I am testing   some examples. I have this form: Andthiscode:usingSystem;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Data;usingSystem.Drawing;usingSystem.Linq;using...
asked by 25.10.2017 / 14:22
1
answer

Use variable in Parameters

I'm trying to run the line below, but I need to use variables. The line is as follows: CM.Parameters.Add("desnome", System.Data.SqlDbType.VarChar).Value = USU.xdes_nome; I need the following: desnome by variable Varchar by va...
asked by 25.10.2017 / 14:45
0
answers

In what way could I create a class that would serve both API sandbox and API production?

I am integrating the CIELO API into my system, they have two types of API, the sandbox and production. Each one with its merchantKey , merchantID , apiUrl and apiUrlQuery query, that is, I have 4 constants for each envi...
asked by 25.10.2017 / 14:58
2
answers

but this dictionary requires a model item of type 'System.Collections.Generic.IEnumerable'1 [WebApplication4.Models.modelExample]

I can not perform enumeration, I have already switched to another information reception in the View but I do not know how to correct it, I checked other forms in StackOverflow but I did not understand. Model: namespace WebApplication4.Mod...
asked by 25.10.2017 / 15:06
0
answers

Error running Nancy on Linux (Ubuntu)

Hello, I have an application (executable) that I am trying to run on a Linux VM in Azure, it works on the project, but when running with Mono (I already installed everything possible fsharp, mono-complete) p> Unhandled Exception: System.Invalid...
asked by 27.10.2017 / 20:32
0
answers

Control Dslr camera via web

Personal is as follows: I have a web application that I would like to be connecting to a dslr (professional camera) camera that would be displaying the live image on a Canvas in html or something, and that could literally control the camera thro...
asked by 28.10.2017 / 05:56
0
answers

Request status after browser closes

I have an Asp.Net MVC project and I realized that closing the browser immediately after starting a request (without waiting for its due) causes the server to somehow not continue in the next lines of code. / p> I did some research but could no...
asked by 19.10.2017 / 15:57
1
answer

How do I show a message after a send action?

I'm trying to get the Android app to display a "successfully sent email" message after an email, which is linked to the send button action, to be sent correctly. I tried to show a Toast, but it shows before the email is sent. Follow the code...
asked by 19.10.2017 / 11:58