All Questions

2
answers

Fill in a Word document from Delphi

I want to create a system in Delphi , where I fill in the labels and after creating a document in word with the information that I typed ... I put an example below where I'm going to enter the information and when I generate it i...
asked on 16.05.2014 / 02:11
2
answers

Limit text in CKEDITOR

I'm trying to make a character limiter in CKEditor, but I did not find any way, the script I used to limit <textarea> does not work when I'm using CKEDITOR. I tried to use the wordcounter plugin which now seems to only count, doe...
asked on 20.06.2014 / 17:33
1
answer

Include jar file in Maven project

How do I include a single .jar in a Maven project? Note: The jar I need to include has dependency on 3 other jar files. The jars in question are from the project Brunette Attempt # 1 I created a lib directory and put the jar...
asked on 02.07.2014 / 16:18
2
answers

Is it a bad practice to override variables declared as a function parameter?

I had the habit of "reassigning" a value of a particular variable that was declared as nome of the function parameter. Example: function format($string) { $string = ltrim(rtrim($string, ']'), '['); // A questionada atribuição...
asked on 11.08.2015 / 17:19
2
answers

Display 1 to 1000 in C ++ without using a semicolon

Make a program in C ++ that displays on the screen the numbers from 1 to 1000, relying on these two, but without using the semicolon . I have already made a sketch here but I have to choose between 1 or 1000. Complementing, my code: #in...
asked on 18.05.2014 / 19:57
1
answer

onclick on dynamic button causes error "Can not resolve constructor Intent"

I'm trying to create a dynamic button, and put the click function on it. Button btnJogarNovamente; btnJogarNovamente = new Button(this); btnJogarNovamente.setLayoutParams(new FrameLayout.LayoutParams(FrameLayout.LayoutParams.WRAP_CONTENT, Fram...
asked on 17.07.2015 / 15:38
1
answer

How to distinguish FALSE from empty string?

Several PHP functions (eg SplFileObject :: fgets ) return FALSE in case of error (eg end of file), but may also return an empty string (in this example, if the file has an empty line); it is impossible to distinguish the two cases with t...
asked on 16.06.2015 / 22:50
2
answers

Preventing a site from being listed on Google

Well, I'm creating a website and an application that will access the same database. For this, while I will still be developing the site and all its modules, I will put it in the air. Even for more efficient testing. So I'd like to know how I...
asked on 07.08.2015 / 22:44
2
answers

Where to find the path of the android database?

SQLiteDatabase BancoDados = null; String NomeBanco = "Cadastro"; CriaBanco(); public void CriaBanco(){ try{ BancoDados = openOrCreateDatabase(NomeBanco, MODE_WORLD_READABLE, null); String SQL = "CREAT...
asked on 29.06.2015 / 20:56
1
answer

What are the risks of placing an ASP.NET application in a Load Balancing environment?

Regarding the code ... is there any risk that might affect my application from the moment it works in a Load Balancing scenario?     
asked on 12.06.2015 / 22:04