Questions tagged as 'c#'

0
answers

Is it possible to modify a SyntaxTree in Roslyn and run the edited code?

Hello, I am changing a code using Roslyn, however, after the change a new SyntaxNode is generated, but I am not able to find a way to execute this new code. The only one I found was to get the ToString of the new Root and call EvaluateAsync w...
asked by 22.09.2018 / 01:30
0
answers

Thread C # Antivirus warning

Good morning everyone, I am starting to implement threads in a program created in VisualStudio (windows form) and whenever I start my program the antivirus is activated putting my program in the quarantine. I'm going to post leave my code here t...
asked by 28.09.2018 / 15:19
0
answers

Passing a string created in Windows forms to Crystal Report

I needed to add a string created in the Windows Forms Application in the Parameter Fields, shown in the first image below, inside the Crystal Report to later make a filter, as in the second image below. I'd like to know what I have to do or co...
asked by 13.09.2018 / 02:53
1
answer

Access wcf via https

I'm having the following error accessing a https url: O esquema de URI do provedor 'https' é inválido; esperado 'http'.\r\nNome do parâmetro: via My file at <?xml version="1.0" encoding="utf-8" ?> <configuration> <system....
asked by 05.09.2018 / 13:36
1
answer

Is web tax printer possible? [duplicate]

I'm implementing a system for issuing invoices with fiscal printer in C #, but would like to know if the same is possible via web using JavaScript HTML, CSS etc. How would I do this? Through which tools and resources?     
asked by 27.01.2015 / 01:32
1
answer

Problems Communication Socket Server Delphi Client CSharp

I have a need to implement socket-to-server communication in
asked by 04.09.2018 / 16:13
0
answers

How to log a log4net log when using the Task Scheduler to start a console application?

I have compiled a Console application in C # which has log4net (which is already working normally when I run the app) and configured it through the Windows Task Scheduler to run the console application every day X hours. But when it runs the...
asked by 19.09.2018 / 19:56
1
answer

Variable does not receive new value

I have an object that should be "falling" on the screen several times, and this works. What I am trying to do is to have a variable named x receive 1 more each time this object passes the screen. When x receives another 5, I want another vari...
asked by 04.09.2018 / 01:27
1
answer

Error in the script on this page

I'm trying to start C # studies with visual studio, but when I run the code the following error occurs: I already researched what happened but could not find out why this is happening     
asked by 01.09.2018 / 06:51
0
answers

What would be an implementation for MagSetImageScalingCallback using the Magnification API?

I'd like to implement this code in my VS C # project, I did a brief search here, but no impelmentation was found. Here is Windows Magnification API .NET is what I want to do, but in this does not have an implementation of MagSetImageScalingCal...
asked by 01.09.2018 / 15:46