All Questions

1
answer

How to drag form without border?

I'm trying to implement a way to drag my form without a border when I click and hold the left mouse button on it, but I did not succeed. Here is an example of my attempt to implement. 1 ° I created the% and%% variables as global within the%...
asked on 06.11.2015 / 01:59
1
answer

is it possible to work with shp files in delphi?

I would like to put together an application that would have the function of a GIS (QGIS for example), instead of developing a plugin that depend on it for the software to work, generate in% with an executable independent. I already have an...
asked on 09.12.2015 / 13:22
3
answers

Prevent cookies from being viewed / obtained with javascript

I was reading # The phrase in question is:    Create secure cookies that only work via HTTPS and are not accessed by JavaScript; My question comes up in this part, what are cookies that "are not accessed by javascript"? From...
asked on 11.04.2017 / 18:21
1
answer

Save image link as file in local storage

How can I save a link ( http://example.com/img.png ) in the file format, which in this case is .png, using JavaScript and saving local storage with $localStorage of AngularJS?     
asked on 26.11.2015 / 17:03
2
answers

Create a Vertical Label or Input

I need to create a LABEL or an Input so that the typed text is Vertical, as follows: M E U T E X T O Would It Be Possible Anyway? This is required for the printing of banners in this format.     
asked on 19.07.2016 / 18:11
1
answer

Download image from server memory

I have an Asp.Net MVC project where I generate an image in memory and would like to download it. See a snippet of code: Image imagem = default(Image); using (Bitmap b = new Bitmap(bitmapWidth, bitmapHeight)) { using (Graphics g = Graph...
asked on 01.12.2015 / 18:52
2
answers

POST method does not take FORM value

I'm making a contact form on a website, but the PHP method does not get the value of input in form , I already searched the internet and could not find anyone with the same problem. And email is being sent, the value of the $s...
asked on 31.07.2015 / 13:32
1
answer

Library for data validations in Brazilian Portuguese for Laravel

Whenever I need to use cpf or telefone validations in Laravel, I need to use the Validator::extend method to add these validations. Validator::extend('cpf_real', function($attr, $value) { $c = preg_replace('/\D/', '', $valu...
asked on 27.05.2016 / 18:10
1
answer

Keep background in DrawingView

I need an application to draw on a specific background, the code is working correctly, but when I go to delete / correct a wrong line, it erases the background and the background should be maintained. However, it is deleting the background image...
asked on 13.07.2015 / 16:02
2
answers

Is it redundant to use LIMIT in a QUERY whose ID is a primary key?

My question is if using LIMIT will there be some performance gain in QUERY . Example: SELECT descricao FROM produto WHERE id = 9999 LIMIT 1 Has better performance than? SELECT descricao FROM produto WHERE id = 9999...
asked on 17.05.2015 / 01:57