All Questions

1
answer

Error converting bitmap to pictureBox in C #?

I am creating a path inside C # so I can always call images from this path, I am instantiating a reference ( using namespace.Properties ) and through it I am able to call Resources and using the following code: var myIcon = (Bitma...
asked on 18.06.2016 / 18:11
1
answer

What happens on these lines in C ++?

This is an encoder reading routine which detects which direction of rotation of the encoder. References are the left and right pins appreciated as MSB and LSB bits. The code works perfectly, but I do not understand what exactly happens in the ex...
asked on 17.05.2016 / 20:50
1
answer

Use 'WHERE' if value is different from 'NULL' in a search appliance

I'm trying to do a simple search engine with some text fields: $nome = $request->nome; $email = $request->email; $bairro = $request->bairro; $request = Contato::where('nome', 'like', $nome) ->where('email', 'like', $email)...
asked on 06.05.2016 / 00:45
1
answer

Vector reading in C is wrong

struct cadastro{ int codigo; char nome[200]; char cpf[11]; char rg[10]; char tel[12]; char end[100]; }cadastro;//struct do tipo cadastro. struct cadastro cd[max];//vetor da funcao cadastro de cliente I have set up a menu, with do - while...
asked on 09.05.2016 / 00:08
1
answer

How to know if the video has copyright by youtube api

How can json find out if a certain video has copyright by youtube's api?     
asked on 17.05.2016 / 23:32
1
answer

How to extract all nth element from a list?

Considering a list consisting of several vectors: lista<-list(c("1949", "1963", "45", "X2752009", "X2752013", "X2753007", "X2850009", "X2851005", "X2851008", "X2851014", "X2852002", "X2852003", "X2852011", "X2852016", "X2852020", "X2853005"...
asked on 23.05.2016 / 17:06
1
answer

Function that converts hexadecimal to binary

Is there a function equivalent to bin2hex() of PHP for C #? I need to convert a hexadecimal to binary. I tried to use TryParse but it did not work.     
asked on 11.05.2016 / 17:23
1
answer

Split (), using | (pipe) as a separator, does not separate the text correctly

I'm developing an app for android and I've now done the part of HttpURLConnection , put everything right, pointed to the url and did a test with% my string with all data coming from my hosted php file. private class MyAsyncTask extends Asy...
asked on 28.05.2016 / 21:34
1
answer

Make calculation with the result of select

How can I make a calculation on the select below? I made sums of amounts and amounts, now I need to take these sums and make a balance. It would look like this:    qtd_tipo_0 - qtd_tipo_1 - qtd_tipo_2 and    total_type_0 - total_typ...
asked on 12.05.2016 / 19:44
2
answers

Filter string REGEX C #

I have a string that returns all the contents of a html page. On this page, you have the following line: <input style="width: 2.3em;" id="nacional" value="3,48" type="text"> I need only the value that is in value , that is,...
asked on 11.05.2016 / 03:41