Most voted questions
150,413 questions
Sort by count of
-
6
votes2
answers332
viewsHow to prevent a website from being listed on Google
I’m creating a website and an app that will access the same database. While I will still be developing the site and all its modules, I will already put the same "in the air". Even for more efficient…
-
6
votes1
answer1790
viewsDisable dates before the current day in Datetimepicker?
It is possible in the DateTimePicker, disable the days before the current day?
-
6
votes1
answer407
viewsIs it possible to show exception message in en-BR?
I would like my exception message to be shown in English, someone would know how? catch (Exception ex) { Debug.Writeline(ex.Message); }
-
6
votes1
answer319
viewsHow to have multiple addresses in one class of person?
If a person has more than one address. The code below is correct? public class Pessoa implements Serializable { private static final long serialVersionUID = 1L; private int codigo; private String…
-
6
votes0
answers318
viewsError "Intellisense: 'No Additional information available'" in Visual Studio 2012
Today my computer crashed (because of Google Chrome! ) and I needed to restart it. Visual Studio 2012 was open at the time (and I lost a few lines of code that I hadn’t saved). The problem is that…
-
6
votes1
answer469
viewsHow to run a web application on IIS without hosting the source code on the machine?
I have developed a web application (Asp.net, c#, javascript , etc) for a client. The idea is to mature this application, and turn it into a product. The question is, how can I run my web application…
-
6
votes2
answers435
viewsWhat is the rule for converting a binary value to a negative number and vice versa?
I got a gift after the @Maniero answered that question: What is the ~ (til) operator for in PHP? How to obtain the negative value in binary? And how, through torque, to reach a negative value? In…
-
6
votes1
answer51
viewsPOST request on Jetty Client 9.X
I’m using the Jetty Client to request a API Web, until recently everything was ok, but I felt the need to send data via POST. Problem In the documentation of Jetty says that POST request data should…
-
6
votes1
answer1544
viewsHow to get the predominant color in an image?
I’m taking a picture of a camera and passing it to a ImagemView and would like to take the predominant color of this image, how could do this on Android? my next classLaiout ( wrote laiout with i…
-
6
votes1
answer2951
viewsLEFT JOIN using Linq
I have the following tables: Responsavel | Filho Id Nome | Id Nome ResponsavelId 1 Ana | 1 Aninha 1 2 Maria | 2 Ana Júlia 1 3 Pedro | 3 Mariazinha 2 I’d like to make a SELECT with INNER JOIN where…
-
6
votes3
answers652
viewsJSON for PHP via AJAX
I really need some help.. I have a select with the products: <!-- panel preview --> <div class="col-sm-5"> <h4>Adicionar Produtos:</h4> <div class="panel…
-
6
votes1
answer3190
viewsHow to change the image of an Imageview dynamically
Hello, I need help changing an image dynamically Follows my code: st = (ImageView) findViewById(R.id.imageView4); int RID = this.getApplicationContext().getResources().getIdentifier(Bundle_img,…
androidasked 9 years, 10 months ago Kleber Souza 451 -
6
votes2
answers1091
viewsPut spacing effect at paragraph start
Setting: I have a page of Terms of Service and responsibilities. Because it is very verbose, there are about 15 paragraphs. To generate the initial spacing of each paragraph I am using a conjunct…
-
6
votes0
answers151
viewsHow to avoid Paper Feed
Hello, I am using a Engeworks non tax thermal printer to print payment vouchers, I am using the Generic Text Only driver. The problem is that she prints the vouchers as if they were whole pages and…
-
6
votes3
answers2006
viewsShow hidden div according to the value of a Dropdown
I have no knowledge of javascript and would like to know how to make a div appear according to a value of a capo dropdown. Example: imagine a dropdown with values from 1 to 10. if we choose a note…
-
6
votes1
answer882
viewsWhat safe way to check if an object is numerical?
I am implementing some generic functions in a module of my system, and I want to treat in a certain situation if the record is numerical (I do calculations). Then searching some way to do without…
-
6
votes1
answer1115
viewsHow to format php mail?
I’m having trouble inserting formatting into the code. Whenever I send, I receive the email the formatting tags as <html> <body>, <strong>, <b>, <p>, etc.... Follow…
-
6
votes3
answers2944
viewsWhat is the best way to enter a large amount of records into the database?
Hello, I am creating an application where I need to constantly consult a spreadsheet, take the data from it and insert in the database (Mysql). The point is that these spreadsheets will always have…
-
6
votes3
answers638
viewsHow to run PHP in interactive mode?
How do I run php from the command line without using a script as an argument. Example with script: > php index.php I already know how to execute a certain function or code like this: > php -r…
-
6
votes2
answers535
viewsHTTP GET using localhost
I am creating an application using phonegap + Onsen framework that will be powered by Web Services (Restful). But I can’t seem to get a conversation going between the two. My call to the Web Service…
-
6
votes1
answer270
viewsVisual Basic Excel - Delete an array name
I’m here with some problems, I never touched Visual Basic and I was wondering if it would help me to make a list I have in Excel faster (Through Visual Basic Excel). It’s very simple, I just want to…
-
6
votes3
answers5917
viewsCheck whether the values of an array are all the same or all different
I wanted some function that returned TRUE when all values within an array were equal or if all were different, and returned FALSE if they were not all the same and not all different. In case you…
-
6
votes2
answers935
viewsJavafx Time Mask or Timepicker
I have a TextField where I enter with the hour, but I always have to type the :. How can I put a mask on this Textfield or else if it’s simpler TimePicker?…
-
6
votes2
answers5827
viewsHow to set up proxy in Android Studio?
Company where I work adhered to the use of proxy and I’m having problems using the gradle. Gradle returns the following error : Error:Connection timed out: connect. If you are Behind an HTTP proxy,…
-
6
votes3
answers1728
viewsHow to recover information from database by id on Ionic?
I have an app I’m developing on ionic and angularjs I’m using routes and I’m fetching the data from a database on a remote server, I have a page where and listed me several categories and each…
-
6
votes1
answer228
viewsProblem to execute a query in Sqlite
Table statement @DatabaseTable(tableName = "alarmes") public class ListenerAlarme { @DatabaseField(generatedId = true) public long id; @DatabaseField(canBeNull = true) public Date dataAlarme;…
-
6
votes2
answers1033
viewsHow to generate pagination links with limits?
I have a pagination whose results generate large amount of links-numbers. Setting: have 10.000 (ten thousand) records being paginated. The pagination should be 30 in 30; However, links cannot…
phpasked 9 years, 11 months ago Wallace Maxters 102,340 -
6
votes2
answers1307
viewsWhat does a "Thread Safety" class mean?
According to the MSDN to Webapp Class (Microsoft.Owin.Hosting) is Thread Safety. What exactly does that mean? This class specifically has a method Start that: Start a web app.... Every request to…
-
6
votes3
answers1104
viewsUML, flow diagram between pages
I remember seeing something like that in college, but because it’s been too many years. Which diagram should I use to represent the flow between pages? It would be similar to represent the general…
-
6
votes2
answers786
viewsModal display when submitting a form
How do I display a modal when I submit a registration form? The content of this modal will be just a message. Here’s the thing, on this form, you send a file and some information. As it usually…
javascript jquery asp.net-mvc asp.net asp.net-mvc-5asked 9 years, 11 months ago Leomar de Souza 1,074 -
6
votes3
answers5677
viewsHow to create input masks in a Textfield?
A few weeks ago I have been studying Javafx as an alternative to Swing, but I noticed that it does not bring any kind of TextField which allows entry masks to be placed, as we do for example in the…
javafxasked 9 years, 11 months ago Paulo Luvisoto 907 -
6
votes4
answers579
viewsGet the date and time the computer called
I would like a method to get the date and time the computer last connected with (c# windows form application).
-
6
votes1
answer558
viewsTry/catch on JS
I own a array called agenciasUri, which format the data before inserting into it. After that, I mount JSON jsonObjto send a request. What I found strange is that it is working properly. Why can I…
-
6
votes5
answers10525
viewsShow every day between two dates
I need to display all dates that exist between two set dates. I do not need the information of the difference between these dates, nor the data that are in the interval between them, but show the…
-
6
votes2
answers453
viewsProblems with table configuration in Primefaces
Greetings to you all, I’m new as a Java programmer, and I’m having difficulty setting some things in the table for lack of experience, note the image; As you can see the field Manufacturing year is…
-
6
votes2
answers901
viewsExtract file . ZIP with accent on name
I’m using the lib System.IO.Compression.ZipFile to unzip files .zip and came across a big problem while trying to extract files that have accents in the name. If I try to extract with encoding…
-
6
votes1
answer27217
viewsRounding in C
I wonder how I could ignore rounding in divisions, for example: 4/3 = 1,33... ~ 1 | 5/3 = 1,66... ~ 2 Right? I wanted to make a program in C, that in these cases, the rounding is not done, because…
-
6
votes1
answer2821
viewsHow to modify a Label when writing in Entry on Tkinter?
I would like to make a program that detects the change in the Entry text and changes the Label to the same Entry text, as I can do this? from tkinter import * # Configurações da Tela window = Tk()…
-
6
votes1
answer393
viewsonClick on dynamic button causes error "Cannot resolve constructor Intent"
I’m trying to create a dynamic button, and in it put the click function. Button btnJogarNovamente; btnJogarNovamente = new Button(this); btnJogarNovamente.setLayoutParams(new…
-
6
votes3
answers101
viewsIs there any justification for this change? Change in variable pattern
A coworker read on a forum that using shorts, int and long was the right and best way for the system’s performance, so it began to change on all screens and classes it worked on. I searched and saw…
-
6
votes3
answers71632
viewsHow to make a select in the bank not to bring repeated values?
For example have in the table the values: green, red, blue, blue, pink, pink, pink, yellow. I would need to return from the colors table only once the blue and the pink. Is there any way to do this?…
-
6
votes1
answer332
viewsHow do I make the sublime text mark a word as keyword?
I like to use sublime text to develop some things in php. But there’s one thing that hasn’t been implemented yet. When I create a trait, the sublime text not "color" the keyword trait as expected.…
-
6
votes2
answers655
viewsBrazilian Army Scheduling System
I have a somewhat disturbing problem, I have researched several ways, but found no solution. Below the explanation: A very simple system, it looks like a calendar, but within each day of the…
phpasked 9 years, 11 months ago Usuario Excluido 71 -
6
votes1
answer2994
viewsModel "Product" table for multiple different product types
How to model the Table Product from a data bank? This table should store the following information: id, product name, quantity, price, status (if it is in stock, if it will be returned) and…
-
6
votes1
answer546
viewsPHP array of objects without access to get methods
I’m trying to access the getters which refer to an object, but this object is in an array, and by no means can I access them. Follow the DAO class (where the mess is taking place and I’m taking the…
-
6
votes1
answer3099
viewsUncaught Syntaxerror: Unexpected token this
When this code is run all together gives this error, but if it is formatted with line breaks it runs normally, how to fix? Error: Uncaught Syntaxerror: Unexpected token this Code in question: var…
-
6
votes1
answer289
viewsHow to popular a dynamically select or checkbox using Annotations in ZF 2’s Zend Form?
I learned to do this with fixed values, example: @Annotation\Type("Zend\Form\Element\Select") @Annotation\Options({"label":"Cidade"}) @Annotation\Attributes({"options":{"1":"São Paulo","2":"Rio de…
-
6
votes1
answer2269
viewsWhat is the difference between setSize and setBounds?
What is the difference in Java Swing between methods setSize and setBounds?
-
6
votes1
answer383
views -
6
votes1
answer303
viewsCode block freezing and does not release Exception
I am using the Twain library for scanner,and the application lists some devices that when selecting does not work,so I debugged and saw that it does not launch the Exception I treated, and yes it…