Questions tagged as '.net'

1
answer

Replace "Web Browser" vb.net

I want to change the default browser of visual studio, I would like to use another to run some scripts that are having problems in internet explorer. I would like suggestions and examples of how to do this. Thanks in advance.     
asked by 16.01.2018 / 20:55
1
answer

Prevent, confirm or dismiss in javascript alerts on a VB.NET webbrowser object

I'm experiencing problems with javascript alerts in my webbrowser. I am creating an automation and after submitting to some pages in the webbrowser, javascript alerts with the protocol generated by the page, however with the alert opened the web...
asked by 20.12.2017 / 13:53
2
answers

Show "Loading ..." during page navigation

When I make a call ajax I can already show / hide a loading gif like this: $(document).ajaxStart(function () { $('#loadingFull').fadeIn(); }).ajaxStop(function () { $('#loadingFull').fadeOut(); }); However, several calls on the...
asked by 24.10.2017 / 18:32
1
answer

Help to write to USERS and AspNetUsers at once

Help please. I lost all day redoing various parts of the system, trying a lot of different solutions but I ended up with no ideas. I have a multi-application solution. One of these applications (where I try to isolate data persistence) has th...
asked by 21.11.2017 / 23:21
1
answer

Instantiate a class that inherits an interface class [closed]

I have a class that inherits many classes interfaces, and I want to instantiate it to use only one method, how should I do it? Is it possible to do it without passing all the necessary parameters? public class PontoSituacaoService : IPontoSitu...
asked by 10.10.2017 / 15:38
2
answers

How do I compare values between two tables and send email if I have a new value?

My system imports CSV files from multiple directories every day into a table called TB_ARQUIVO. In this file, it contains the name of the Hotel (Column HOTEL_NOME) and four types of Channels ... SEGMENT, ORIGIN, COMMUNICATION and VEHICLE, outsid...
asked by 27.09.2017 / 17:19
1
answer

C # conversion error

I have the most generic class Account and another ContaPoupaça that inherits from this class Conta . In this daughter I have an interface called ITributavel , because this class in addition to the methods and attributes of...
asked by 03.11.2017 / 00:15
1
answer

How to get the encoding type of a file?

Follow the code below: string text = File.ReadAllText($@"{pathname}", Encoding.UTF8); I have several txt files with different conditioning. Because here does not show special characters, because of different encoding. Before running the...
asked by 02.11.2017 / 21:33
2
answers

Check if file exists for 20 seconds C #

I'm doing a module that works with file sharing and in the documentation it asks to wait 20 seconds for the status file xxxxxxxx.sta, however, I'm not sure how to implement this in C #. I was trying something on this line, but it seems to run as...
asked by 21.08.2017 / 20:23
1
answer

Problems communicating with the webService made available by the government [duplicated]

I have a problem communicating with the eSocial webService, my certificate is correct, but still can not establish a secure connection, it displays the following message: "Error making HTTP request for     
asked by 21.09.2017 / 16:28