Questions tagged as 'c#'

0
answers

Problem with running reports in visual studio 2015

Very good day: I have a problem executing reports in my project made c # in visual studio 2015 I would like to know how to solve this problem     
asked by 26.01.2018 / 16:00
0
answers

The reference System.Linq is not resolved

Hi, I have a problem and it is a problem in my application when I compile it, it always shows me the same warning:    The primary reference "System.Linq", which is a framework assembly,   could not be resolved in the currently targeted framew...
asked by 25.01.2018 / 18:14
0
answers

EWS Folder search

I need to access a folder called TEST, which is inside the inbox, with the following code I can access the messages in the inbox; //Recupera todos los correos hasta un máximo de 90 public List<Correos> recuperarCorreos() { var ser...
asked by 25.01.2018 / 11:28
0
answers

Print using Microsoft Print to PDF

I am trying to print using Microsoft Print to PDF but when I open the generated document it is blank. try { PrintDocument pd = new PrintDocument(); ProcessStartInfo info = new ProcessStartInfo(@"C:\Total\EX-201...
asked by 25.01.2018 / 13:00
0
answers

error 403 Forbidden asp.net in chrome?

I get the error when I want to see the page in chrome but in internet explorer if it works correctly. why the problem is     
asked by 01.02.2018 / 18:52
0
answers

inconvenience when consuming WebService SOAP from C #

I want to consume this WS SOAP, I select the method "AuthenticaInicioOperacion" it asks me for 3 input data and only returns the name of the method, nothing more. $url = "http://sptc.mtc.gob.pe/qacitv/WSInterOperabilidadCITV.svc?wsdl"; try...
asked by 01.02.2018 / 21:40
0
answers

Sign xml by calling a Web Service

First of all, thanks in advance for your help. I'm trying to connect to a web service, which asks for the xml document to be signed, the connection to the service itself works, but apparently you have to include something like this in the XML...
asked by 29.01.2018 / 15:59
1
answer

Background tasks-Xamarin forms

The specific question is, if in xamarin forms can tasks be executed in the background or does it have to be native in each platform?     
asked by 22.01.2018 / 20:56
0
answers

convert a resource into a byte array without writing to disk

My question is: Is there a way to convert a resource directly to byte array without writing to disk? The code is: using System; using System.IO; using System.Reflection; namespace VCSKicks { public static class ResourceHelper {...
asked by 22.01.2018 / 21:52
1
answer

Problems saving a Decimal using the Entity Framework

When I enter a quantity of a product, which is of the Decimal type, I use a TextBox: decimal STOCK; if(!decimal.TryParse(txtStock.Text, out STOCK)) { MessageBox.Show("Debe ingresar un valor correcto para el stock", "Advertencia"); retu...
asked by 22.01.2018 / 23:55