All Questions

3
answers

Search in List (Of String) - Case insensitive

How do you search for String on List(Of String) without considering the case? I am using .net 2.0. Contains does not allow you to pass any additional parameters. I tried to use Find but it also did not work. Dim...
asked on 22.10.2015 / 14:19
1
answer

Generate random number between -99 and 99 [duplicate]

I'm having some difficulty here in my code which is as follows, I know that to generate random numbers between 0 and 9 is - x = rand() % 10 . So now I wanted to generate numbers between -99 and 99 , and I di...
asked on 16.10.2015 / 06:17
2
answers

How to change focus from one TextBox to the next?

I'm trying to change the focus of the field after the user types 2 digits. Validation is ok, but I have not yet found a method to get focus shifted. NOTE: This is a dynamic method used for multiple fields, so I can not specify on the hand whi...
asked on 09.10.2015 / 14:44
1
answer

What is the purpose of {} (keys) being used to delimit code in PHP?

In PHP, you can use the keys in any code snippet, for example, to separate blocks aesthetically. Example: { $a = 1; } { class X{} } { { function x() {} } } In these examples, none of them an error is generated. I...
asked on 22.10.2015 / 21:19
1
answer

Include a .c file within a main project.c

I am developing a simple program to deliver at the end of the first semester and would like to know if it is possible to create a main project and make the menu in a separate menu.c . Then include the menu.c file inside the main project?...
asked on 25.10.2015 / 22:15
2
answers

Java Desktop Application Audit Log

Thinking about a Java desktop application that is running in a company, we may come across situations where the user may cause flaws in your application, in this case could create a in> error and an audit to know which error was caused and ho...
asked on 21.10.2015 / 14:12
3
answers

javascript check if the attribute of an object exists

I have an object that I get, and sometimes it comes with an attribute other times not, my problem is in the sequence when I go to work with it see the example below: if( json.aviso != "" ){ //...fazer alguma coisa...
asked on 20.10.2015 / 15:38
1
answer

How to do pagination in CodeIgniter using AJAX?

I'm having a hard time finding a way to do paging using AJAX. I am accustomed to doing it both traditionally and directly with the server using Codeigniter as the application framework . However, this time I need it done without the refresh o...
asked on 24.12.2013 / 12:03
2
answers

Is it possible to put a 'pre-image' in the youtube iframe?

I've embedded a youtube video on this site: link I would like to place an image above the video when it is paused at startup. I already did that but it was tagged 'video'. Can you do this with the iframe (this can be called an API?) From...
asked on 08.10.2015 / 15:55
2
answers

How to save JSON file with Node.js

I want to make a website to test some things. The site is running on my home server made with Wamp. I was told I could make a small database using JSON files. I have a JSON file in the site folder that contains the following: [ {...
asked on 31.01.2014 / 01:57