All Questions

1
answer

Connection error

I am creating a Windows Forms application using C # and am having a problem with the connection to SQL Server CE 4.0. The application database is in the AppData folder of the logged-in user. To get the path of the AppData folder...
asked on 28.10.2014 / 16:51
1
answer

Check values in txt

Well, I want to save a value in a txt file, checking if there is already any value with 2 things equal. Ex: local file = io.open("arquivo.txt", "a+") local oi = {dia=os.date(), numero=math.random(1,10)} if not () then -- Aqui não sei o que faz...
asked on 22.08.2014 / 22:08
1
answer

Why @ Html.CheckBoxFor returns "true, false"

In the construction of my View, I have a field of type: public bool? RegistoGesOleos { get; set; } What I represent using Razor as: @Html.CheckBoxFor(model => model.RegistoGesOleos.Value) Now when I do submit of my Form, and...
asked on 27.10.2014 / 16:09
3
answers

Adding array in currency javascript

I need some help to convert and add fields formatted as currency coming in this format "1,568,78" I have a code that sums an array of plots and checks if it is equal to the total phallus of the invoice I got here after several queries in user...
asked on 30.11.2015 / 03:27
2
answers

library conio.h in C language for Ubuntu

I'm programming in C in Ubuntu's Codeblock. I'm trying to add a conio.h library. During several searches I found a site that for reasons of incompatibility in ubuntu with the conio.h library, a group created gconio.h. So I should download a file...
asked on 10.10.2015 / 22:09
2
answers

Write in image with php

I'm trying to print online certificates dynamically populated with PHP. The code I'm using is: class Certificado { public $nome_para_certificado = ''; public $modelo_de_certificado = ''; function __construct($nome) {...
asked on 20.09.2015 / 10:58
1
answer

How to generate PDF contract using PHP directly?

I need to generate a contract, which will come from an HTML form, whose data will be processed by a PHP. I need the user-entered data to appear in the contract and this contract is generated in PDF. Is it possible to generate the entire co...
asked on 07.09.2014 / 20:13
2
answers

Firefox complains of code after the return

Situation I was performing some maintenance on JS. And a certain function put a return in the middle of it, because the rest was no longer necessary. In seeing the comment on the rest or delete, I kept the code there. When reloading th...
asked on 10.11.2015 / 15:20
3
answers

Detect browser language and redirect

I'm using Wordpress and wanted to redirect my page to the "/ br /", "/ es /" versions when the browser language is one of those and when it does not stay on the default page, which is the ".com ". I tried to use this code, but it did not work...
asked on 11.11.2015 / 21:41
2
answers

Comparing user-typed variable with file variable

Within my arquivo.txt file I keep two strings "nome" and "senha" , they stay one below the other. I need to get the name and password entered by the user and compare it with the name and password I have saved in the .txt...
asked on 12.11.2015 / 19:57