Questions tagged as 'c#'

0
answers

Authentication windows with selenium

I'mtryingtoperformawindowsauthenticationwithselenium,howevertheerrorbelowisdisplayed. Is there another way to perform this type of authentication?     
asked by 24.04.2017 / 19:15
2
answers

Checkbox help in C # [closed]

I have this code. private void Verificar() { mUpdater = new DatabaseUpdaterService(); mUpdater.Initialize(false, null); DataTable dt = mUpdater.GetVersionCheckBoxToUpdate(); int h = 0; foreach (DataRow row in dt.Rows)...
asked by 03.05.2017 / 13:01
1
answer

How to validate data entry of a web service?

What is the best way to validate a WebService call? I explain: I have a WebService that has as Request a String of varying size and that returns the same formatted string, eg: Input String:    "ST STN, SET J, * STORES T-40 / T41, - TER-REO...
asked by 23.04.2017 / 16:10
1
answer

Move mouse to screen pixel (XY)

Hello everyone, I'm having a problem, well I've already got the mouse position in relation to form! For this I used a form with the border NONE, maximized, and opacity 5% and when the user clicks on this form it closes! To get the coordina...
asked by 21.04.2017 / 18:01
1
answer

Get information from a website and put it on a label?

I want to navigate to the Site and Get Bitcoins Current Value to Insert into a Label. This was my attempt that clearly did not work ... privatevoidForm1_Load(objectsender,EventArgse){webBrowser1.Navigate("https://www.mercadobitcoin.com.br/")...
asked by 21.04.2017 / 06:47
1
answer

Title bar text in the center

The title bar text of the Form in my Visual Studio 2015 is on the left by default. How do I get it centered by default? Thankful.     
asked by 11.05.2017 / 14:36
1
answer

Generate sequence for field

Is it possible to create a sequence without changing the field to id? Id(x => x.Id).GeneratedBy.Identity(); Map(x => x.DocumentoNumero); Using this example, I would like to keep a sequence for DocumentoNumero , but at the sa...
asked by 11.05.2017 / 15:44
2
answers

How to free memory after performing a task?

On a certain task, I have to load 6 photos in 6% with%, for this I use the method below: private void simpleButton1_Click(object sender, EventArgs e) // botao carregar foto { OpenFileDialog carrega_foto = new OpenFileDialog();...
asked by 11.05.2017 / 03:51
1
answer

Image resizing

I'm using the following routine to resize images, it's working, however the resulting files are getting a very large size, for example when I resize an image from 1400x700 from 500kb to 1200x600 the new file is getting 1.6 Mb. can be wrong? M...
asked by 29.04.2017 / 23:01
0
answers

How to identify a number on the screen with Bitmap?

I'm new to C # and want to do a program to identify numbers on the screen andtransformorsavethemtoaDoublevariable.TheonlythingIcoulddowasgettheprintoutofthescreen:PBitmapprinttela(){Bitmapnovaleitura=newBitmap(Screen.PrimaryScreen.Bounds.Width,...
asked by 18.04.2017 / 04:09