Questions tagged as '.net'

1
answer

What is Runnable for?

I was thinking about creating thread one in my software, but I saw in the forums that Runnable helped in some way to create a thread , and wanted to understand how it works.     
asked by 21.04.2016 / 16:29
1
answer

Is it possible to change CSS in VB.NET WebBrowser?

Hello, all good guys? my next question ... I want to disable all background-image then ... I wanted to get the html from the entire page and put nothing on the "background-image" tag leave it always empty. In the images I got .. I studi...
asked by 26.08.2015 / 07:59
2
answers

Use FtpWebRequest with uri https

Sirs, good afternoon, I'm creating a service that will upload some files to an FTP link, but this is like HTTPS ( link ). It occurs that the FtpWebRequest class does not allow the use of uri hhtp / https, with the error below occurring....
asked by 09.11.2015 / 17:30
1
answer

If you have this character, discard the catch

How do I make regular expression not capture what has \} in text? I want you to get all } , but I want it to be escaped with the \ character be discarded, not ignored. I am trying this expression: [^\]} but it returns a ch...
asked by 15.11.2015 / 22:06
1
answer

stretch label horizontally on a panel in C # [closed]

What properties do you use to stretch a label (the label in question has the text "shortcuts") in a panel? I want it to occupy horizontally all the space on the left panel. Program example: link     
asked by 23.09.2015 / 09:22
1
answer

How to use Scope_Identify to return .NET id

I'm developing an application and I need it when sql does the insert return the value of the id that was entered, I'm using the following command SqlCommand cmd = new SqlCommand("insert into solicitacoes (assunto, mensagem, endereco, anexo, st...
asked by 05.06.2015 / 14:31
2
answers

Transform Stream into Byte Array

Good !! I have a Stream of a ZIP file of approx. 450 Mb, and I need to convert it to an array of bytes. To do this, MemoryStream (System.IO.MemoryStream) is used by default, it follows the code I used: Stream receiveStream = response.GetRes...
asked by 14.07.2015 / 13:18
1
answer

Ribbon for Visual Studio Express 2013

How to install or activate Ribbon in Visual Studio Express 2013?     
asked by 10.03.2015 / 18:10
2
answers

How to return more than one Database Entity in a LIST?

I have two entities, CATEGORY and TRANSACTION , in the database I also have these two tables. TABELA: CATEGORIA CHAVE: ID TABELA: TRANSACAO CHAVE: CATEGORIA_ID When done a select by entity performing a join : var _resul...
asked by 25.01.2015 / 01:17
3
answers

Operator '+' can not be applied to operands of types 'decimal' and 'double' - NCalc

I'm using the NCalc lib A simple formula like "Abs (-1) + Cos (2)" gives the following exception:    Operator '+' can not be applied to operands of types 'decimal' and 'double' Why? How to solve? The calculation is to be executed as...
asked by 25.03.2015 / 14:21