Most voted questions
150,413 questions
Sort by count of
-
4
votes2
answers827
viewsTypes of payment prohibited on IOS
What types of payments are exactly prohibited on IOS, I have heard that everyone should use the in-app Purchase... In my case I want to release a free version with limited functionality for the user…
-
4
votes1
answer2823
viewsDifferences between glassfish 4.0 and Wildfly 8.0.0
1 - There is some difference in performance and/or usage complexity when comparing application servers: Glassfish 4.0 and Wildfly 8.0.0? 2 - Is there any specific situation where the use of 1(one)…
glassfishasked 10 years, 6 months ago klaytonbrito 491 -
4
votes1
answer380
viewsHow to change the URL in the browser of the Microsiga Totvs app
The default Microsiga Totvs page has its own default browser, which are the settings to allow the user to change the URL ? Only the default browser homepage of the machine used appears,…
-
4
votes2
answers3171
viewsShow only month and year in Primefaces Legend
Like remover os dias of the primefaces? I tried the configuration below, but the days are displayed when the component is redeveloped. <p:calendar id="dataTeste" pattern="MM/yyyy" /> Here’s…
primefacesasked 10 years, 7 months ago Geison Santos 4,428 -
4
votes1
answer591
viewsHow to add subitens of a Listview to a Memo?
I have a Listview with 5 fields. I need to take the Listview number 5 field and add it to a Memo. I tried it this way: Memo1.Lines.Add(LV1.Selected.SubItems[5]); Unfortunately it didn’t work. It…
-
4
votes2
answers275
viewsDar height and overflow-y in a div
I’m trying to give height and overflow-y in a div to limit the size of the div and add a scroll. Something like this: I’m uploading a list of data from the BD (I’m working on ASP MVC) to the div,…
-
4
votes1
answer446
viewsHow to internationalize Enum values?
I have the following code in Model: public enum Lista { [Display(Name = "Lista_regular", ResourceType = typeof(Mensagem))] Regular = 0, [Display(Name = "Lista_irregular", ResourceType =…
-
4
votes2
answers495
viewsServersocket IP lock?
I have developed a socket system in Delphi. It is possible to block an IP to not connect to my server? Obs: The components were used: SERVERSOCKET and CLIENTSOCKET.…
-
4
votes1
answer3300
viewsStatic variable in Python
I came from Java. I have a variable in a class that I need to change in more than one method. I tried to put it global, but it consumes a lot of resource. How to implement this? It would be the same…
-
4
votes3
answers1073
viewsC# update XML based on another XML
Today I have the following XML structure: <ROOT> <TES IDTES="4780" IDPES="17522" /> <TES IDTES="6934" IDPES="12343" /> <TES IDTES="4781" IDPES="17523" /> <TES IDTES="6935"…
-
4
votes1
answer350
viewsDefault browser autocomplete does not work in my Webforms application
I’m using the Google Chorme and he’s got the option autocomplete enabled, so much so that I can store a login to the Facebook. However, in my application ASP.NET Webforms, on the screen of login me…
-
4
votes1
answer216
viewsIE does not show CSS gradient and font-shadow effect correctly
Can anyone help me? I can’t get IE to accept the gradient effect, load the font and use the font-shadow below. In fact, IE is not loading anything other than text with a generic font (no…
-
4
votes3
answers1771
viewsPrint html code
How to print html code ? Example: <div id="css"><link rel="stylesheet" href="jquery.css.css"></div> it does not print the link tag, it links another css, want to write this tag pro…
-
4
votes2
answers330
viewsQuick Scroll Bar in alphabetical order
I’ve already found some examples with a custom view of a list with a alphabetical quick scroll bar, but I didn’t really find a scroll bar that really looks like the one from my Kitkat contact list.…
-
4
votes2
answers1731
viewsHow to handle dependencies (DLL’s) in Delphi/Lazarus?
How do I find out which ones DLL’s I must distribute along with my application for it to work on any machine? I know Installshield - which does business in an automated way - but I would like to…
-
4
votes1
answer772
viewsHow to always leave a form behind?
I’m trying to always leave a form underneath the other forms, no matter if the user clicks on it, it should always be below, but usable, something similar to the desktop, and that’s the problem, I’m…
-
4
votes1
answer107
viewsStopping a router when your child router ends
I have a Ator that would be the Root and this actor Root has a router with 5 instances, and this same router also has a router with 5 instances. How can I stop ArquivoParaProcessar and warn the Root…
-
4
votes1
answer114
viewsTime in PHP format
am creating a wordpress function to schedule events in the following way: add_action( 'wp', 'prefix_setup_schedule' ); function prefix_setup_schedule() { if ( ! wp_next_scheduled( 'send_email' ) ) {…
-
4
votes1
answer508
viewsHow do the visual components of Delphi 2010 follow the visual standard of Windows?
In Delphi 2010 the interface components (buttons, etc.) are all square, Windows 95/98 style. How do I make it adapt the visual pattern to the latest versions of Windows?
-
4
votes1
answer263
viewsASP Classic in Windows Azure
I have a web application in ASP Classic that uses a DLL. NET registered by regasm, an upload component (upload) and CDOSYS to send emails. This application is accessed by multiple clients and has…
-
4
votes1
answer1406
viewsC# Receiving Serialized Objects on a Webmethod
Good afternoon, I am passing a list of JS objects to C#, to a Webmethod, as function parameter, what kind of parameters this should be? I created a class to receive the data: public class…
-
4
votes3
answers28540
viewsCreate an array with objects in Javascript
I have defined the object, and the array in the scope. //Define o array que deve ser preenchido com os objetos var itensList = []; //Define os argumentos do objeto var oItem = { Codig: 0, Desc: "",…
-
4
votes1
answer605
viewsRecover Corrupted . gz File
I have a file in . gz which is corrupted. Is it possible to extract data from this file? Even if it is partially? This file is a sql database dump. Thanks.
-
4
votes1
answer1976
viewsCalling an executable other than Process in c#
Is there any way to call an executable other than by process? I need something that does not use the code below to call an executable because when I finish a process of an application that is not…
-
4
votes2
answers2456
viewsEnd a C# process with WPF
I have a solution that has two projects. a main project and another that serves as Updater. To perform the upgrade, within the main project, I call a console application as follows. private void…
-
4
votes1
answer8024
viewsHow to determine permission to use tables?
How can I make a certain user "see" one table and another not? I’ve been doing some research, I found the DENY SELECT ON *** but I was unsuccessful.
-
4
votes3
answers7017
viewsUpdate $Scope in Angularjs
Guys the problem, in a general way, is that I can’t take information received in a controller and apply it in my html, when I try instead of printing the variable on the screen becomes empty, when I…
-
4
votes1
answer3560
viewsSite loading progress system
Some sites like Walking Dead and Youtube has a system that appears on top when the page is loading and appears an image in GIF or CSS3 arrodeando on the side or a progress bar. What is the name of…
-
4
votes1
answer328
viewsDoubt about POST and GET in php
I tried searching the internet, but I couldn’t satisfy my doubt... I started programming web recently, although I have already used post and get, I found myself in a situation where I was "stuck". I…
-
4
votes3
answers7029
viewsInsert PHP into div with Jquery (.html)
I have a div that will receive the content, I have a vertical menu, which will define the content that the guy will see. The problem is that it does the .load() of the file, but it loads as far as…
-
4
votes1
answer1994
viewsGrouping in the Ireport
I am developing an application in Java where I extract PDF and EXCEL reports, using Jasper with Ireport(3.7.2).One of these reports needs to have data grouped by a certain element. I did some…
-
4
votes1
answer2712
viewsMedia Queries does not work
I am developing a Wordpress site that needs to be responsive and for that I am using media queries: <head> ... <link rel="stylesheet" href="css/style.css"/> <link rel="stylesheet"…
-
4
votes2
answers7844
viewsHow can I get the id in classes with equal names?
How can I get the id of the alternative and know if it is 0, 1 or 2. <div class="quest-alternatives"> <p class="brand-alternative"> <span class="brand-id hidden" style="display:…
-
4
votes1
answer429
viewsInappropriate behavior when stretching image
I have the following html code: <figure> <div id="test"> <a href="#"> <img class="wideStretch" src="caminhodaimagem/img1.jpg" alt="Img 1" /> </a> </div>…
-
4
votes1
answer565
viewsFind in an array the next value greater than a predefined value
I have the following array with forech set: $getdepth = '{"result":"true","asks":[[20,13],[34,20],[30,8],[35,8],[4,40],"bids":[["18",22],["16",74],["70",99],["65",18],["1",15]]}'; $depth =…
-
4
votes1
answer363
viewsHow to send user information securely using Ajax?
I am developing a login system and need to send the values by Ajax. The login will be in a modal window at home, and because of that I will not use the HTTPS protocol. You can send securely by Ajax…
-
4
votes4
answers222
viewsReturn null by breaking the code
When I search right the name of the person on the list of people it returns the person but when the return is null it breaks the loop of the code and shows it: Exception in thread "main"…
-
4
votes2
answers4107
viewsHow do I pass parameters from the last Fragment to the previous Fragment?
I have the following situation: the Fragment A and from it, with a button click event, goes to the Fragment B. When you’re in the Fragment B and press the back button in order to return to the…
-
4
votes4
answers28928
viewsCalculator in php
How do I make a calculator in php? I made the code but does not display result. <!DOCTYPE HTML> <html lang = "pt-br"> <head> <title> Exemplo</title> <meta charset =…
-
4
votes1
answer589
viewsJSON cut when sending by post with AJAX
I’m using Angular to register in the database, I take the data of my inputs put into an object and turn into a JSON and send by post, but it turns out that my JSON is cut and I don’t have a clue…
-
4
votes1
answer1896
viewsIgnore . classpath and . project on Github
I can’t ignore the . classpath and . project files on Github. These are already in my . gitignore but after a while always end up coming back. I’m using Eclipse + Egit. Follow my file . gitignore…
-
4
votes1
answer150
viewsStatic Code Analysis - Identify possible division by Zero
Does anyone know / built some logic (rule) of static source code analysis (for Fxcop or Gendarme) that searches for possible gaps in the code that incur a division by zero? That is, a logic that…
-
4
votes2
answers939
viewsHow is the java project separation?
Well, I come from . net and there we have projects that we can divide them into class library and web project I have my design just for my models Another only utils project and my web only project…
-
4
votes1
answer87
viewsQvector to Qimage
I have to turn one QVector 2d in a QImage to display the image on a label. The QVector in the case of an array of integers with a value of 0 to 255 representing an image in PGM or PPM, this vector…
-
4
votes2
answers5586
viewsHow to move, rotate or scale an Object on its local axis in Opengl?
Hello, I have a class HTransform which stores a matrix, position, orientation and scale of each object, this class is the base class of each Object or entity. I made one function to move the Object…
-
4
votes4
answers43355
viewsCheck if string has only numbers
Which command can I use to know if inside a string only has numbers.. For example, I’m using the prompt: var quantidade=prompt('Quantidade de entrada de produtos(somente números)'); I would like to…
-
4
votes2
answers5898
viewsForeign key may not be primary key?
I’m new to databases. My teacher asked us to link to 3 movie tables: Titulos, with names and link to movies Categorias of the film and link to the films A middle table that would link category to…
-
4
votes2
answers342
viewsFunction to generate INI from Array
There is a function that does the inverse of parse_ini_file to be able to generate a configuration file from an array?
-
4
votes1
answer577
viewsRedirect to external URL with basic Authentication in MVC
I am developing a C# MVC3 portal and in a given operation I need to open another portal in a separate window. To open the page of this new portal I need to send some credentials, since this is…
-
4
votes2
answers3621
viewsIntegrating Paypal Expresscheckout in PHP
for some time I have been researching how to integrate Paypal in my online stores, the ones I myself build from 0 until the final stage that is the payment, but when I went to the Paypal site to…