Most voted questions
150,413 questions
Sort by count of
-
5
votes2
answers1099
viewsHow to remove formatting from the GETDATE() command
I am developing an application that will be used by several customers simultaneously, I would like to use as id the Day, Month, Year, Hour, Minute, Second and Millisecond, would have as I remove the…
-
5
votes3
answers1759
viewsCreate post on a wordpress and bring in other wordpress automatically
Options: Create a new POST on a wordpress-1, from another wordpress-2. or Everything that is created in wordpress-2 be "copied" to wordpress-1 or Create/Register a product in a store(site)-1, from…
-
5
votes2
answers926
viewsSaving Base64 Image with ADODB.Stream
After converting an image to Base64 using Html5 and canvas, send the string to ASP Classic and there I must save this image in a certain directory. I’m using the following code: base64String =…
-
5
votes2
answers114
viewsMake a site not run on any version of IE
I have a website that should not run on any version of IE, when trying to open the url I want a background-image that I will mount by saying that my site is not supported on IE. This is possible to…
-
5
votes3
answers257
viewsError in formula with OR
Some reason this doesn’t work? I intend that he counts how many situations exist within one or another criterion. Both this formula: =CONTAR.SE.S(E:E;">120";E:E;"<139" OU…
excelasked 9 years, 5 months ago Ricardo Simoes 83 -
5
votes1
answer326
viewsSELECT with sequential counter does not accept LEFT JOIN
Because by making a SELECT that returns a Sequence number doesn’t work if you have LEFT JOIN? SELECT @ROW_NUMBER:=@ROW_NUMBER+1 AS ROW_NUMBER, P.PEDIDOID FROM PEDIDO AS P, (SELECT @ROW_NUMBER:=0) AS…
-
5
votes2
answers240
viewsrender specific part of a page
I am using the following code to render a web page: import dryscrape # set up a web scraping session sess = dryscrape.Session(base_url = 'http://www.google.com') # we don't need images…
-
5
votes4
answers4688
viewsCodeigniter 3.0 giving 404 not found
I installed the Codeigniter 3.0 in my apache and when I have access http://localhost/Azzunet/login he returns me error 404 not found. The files of controller is correct and views also (only has…
-
5
votes1
answer492
viewsOperation with three-dimensional arrays
Reformulating the question, I would like to implement the following equation: Where D is a matrix of order i x k x l, lambda is a matrix k x j and pk = {1,2,3,4,5,6}. For this I need some function…
-
5
votes1
answer152
viewsCheck whether it is palindrome (No instance for (Eq a) arising from a use of `==')
I got the second error in the code: No instance for (Eq a) arising from a use of `==' Code: --Verifica se a lista é um palíndromo palin :: MList a -> Bool palin(x) |x==reverter(x) = True…
-
5
votes2
answers6790
viewsCan an int equal null?
After seeing a question related to this, and many college colleagues with doubts linked to it, I decided to ask this question. The guy int may equal to null?…
-
5
votes2
answers1291
viewsFields are not 'masked' with jQuery Masked Plugin
Good afternoon, @EDIT The fields are now accessible. However, what is typed is not masked as preset in the script. Plugin: http://digitalbush.com/projects/masked-input-plugin/ Code: <!DOCTYPE…
-
5
votes1
answer831
viewsAbout the difference between Visual Basic and Basic
I was told that: Visual Basic is the compiler... ...and Basic is the language After all, in visual studio, I am editing the Basic or Visual Basic language?…
visual-basic-6asked 9 years, 5 months ago CypherPotato 9,292 -
5
votes2
answers1027
viewsCenter image in Nav menu bar
How do I center an image in the Menu bar? When I talk about centering, I mean not the image in the middle of the bar, but whatever position it is in, that has the same "measurements" for the top and…
-
5
votes1
answer361
viewsBack debug line
In the old Visual Basic if you were on debug step-by-step and unintentionally pass a line I wanted to check, there was the option to go with the cursor to the line above and press the key…
-
5
votes1
answer129
viewsMultiple component events in one method
I have several events of my textbox, the problem is that I have about 30 in my form. I wonder if there is any way for me to improve my code, reduce it by creating only one method to control all…
-
5
votes1
answer2655
viewsMy project no longer opens
My project was working perfectly. I went to open it now and gives me this error: When I arrived my grandson was with my notebook, but I don’t think he (3 years) would damage. It’s more likely to be…
-
5
votes1
answer169
viewsSpecial treatment for string, why?
I know arrays are static elements used when you have a predetermined size that you can use. But speaking of initialization, when the size is already set next to the array, I would like to know,…
-
5
votes2
answers4646
viewsHow to print a txt file in Python
How to print a txt file in Python? I am not referring to print but to print on the printer. Thanks (:
-
5
votes2
answers3400
viewsHow do I use @Font-face with an arbitrary font?
I wonder how it works @font-face how should I apply it in my code CSS because I want to use a source called Tekton Pro but only use tag font-family:Tekton Pro does not work and would like it to…
-
5
votes4
answers444
viewsMark contacts/hashtag in typing text with javascript
Good morning In my current project, I need to mark individual contacts and/or hashtags in the text, while the same type For example, when typing '@' and the first letters, javascript recognizes that…
-
5
votes1
answer81
viewsHow to transfer a file with corrupted name?
A client of mine is having a problem to upload file on my system, and from what I could notice it is his file that is with corrupted name (it is relatively common, on Windows systems, the accented…
-
5
votes1
answer482
viewsASP.NET Identity and Web API - Problem to register new user
I have a Web API project and I’m using Identity to manage user accounts, my controller is like this: public async Task<IHttpActionResult> Register([FromBody]RegisterDto model) { if…
-
5
votes1
answer331
viewsAndroid and HTTP request field X-auth-token
I am trying to send a token, through an Android application in the 'X-auth-token' header field. This request is sent to a PHP server, where I use Codeigniter. Android HttpClient httpClient = new…
-
5
votes1
answer1324
viewsC# Image and PDF Manipulation
I wonder if there’s a way to turn multiple images into a single PDF file. On my app I’m already pulling their address.
-
5
votes1
answer1255
viewsC#FTP Connection Failed
I’m developing an application Console in c# which performs connection to an FTP server (or at least should), I have the following code: Class Ftpconnection class FTPConnection { private Connection…
-
5
votes2
answers1005
viewsWhen selecting option displays div with
I have a doubt, as I know nothing of PHP, i would like someone to help me how to assemble or implement a Jquery that I found. In my case there are 2 selects, one who would be called Estado and…
-
5
votes1
answer777
viewsData formatting works on Chrome and does not work on Internet Explorer, or vice versa, with MVC C#
If I wear the model [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:dd'/'MM'/'yyyy}")] public DateTime data { get; set; } Works perfectly on I.E. but doesn’t work on Chrome. When…
-
5
votes2
answers14345
viewsSQLSTATE[HY093]: Invalid Parameter number Insert problem
I need to enter through a form the following data: TITLE DESCRIPTION PRICE HTML: <?php session_start(); session_destroy(); ?> <html> <head> <meta charset="UTF-8">…
-
5
votes2
answers547
viewsPHP Text Interpreter
I’m creating a text interpreter based on the Github do Duckduckgo in PHP. This is one of the codes I created: if (strpos(strtolower($qt), "rand") !== FALSE){ if (preg_match("/^rand$/",…
-
5
votes3
answers3929
viewspick element after being inserted into DOM with jQuery Append
My page has a selectbox, with some segments, when a user selects a segment, through the event on change jQuery, he takes the value of <option> selected and inserts an Hidden input with the…
-
5
votes1
answer980
viewsUpdate fields with Javascript
The problem I’m making a requisition Ajax to return some data from a table. He arrives and enters this function to start the foreach of the information, but two of them are getting "lost" on the…
-
5
votes2
answers5698
viewsClick on a link and print the landing page as soon as it opens
I’m using self.print() to call print and this opens the option to print the page I am on. However, I would like that before calling the impression could go to another page through the href... All…
javascriptasked 9 years, 5 months ago Fernanda Ferreira 197 -
5
votes2
answers10187
viewsGenerate Boleto in Java
I stuck here looking at some libs for bankroll generation and it seems that most have been abandoned. I wonder if there are any updated, better or easy to customize. Analized libs: Bopepo -…
-
5
votes1
answer276
viewsError when putting Virtualbox as a service
I created a windows service to configure my VM in mode Headless, with the command: sc.exe create DailyLubuntu binpath= "\"C:\Program Files\Oracle\VirtualBox\VBoxHeadless.exe\" startvm Daily LUbuntu…
-
5
votes1
answer751
viewsIndexing of Database
What is the advantage of maintaining an indexed database, with Foreign key and indexing of the most used fields as in searches?
-
5
votes1
answer764
viewsCheck if Input::file exists Laravel
I have a class created by me that uploads files. I wanted to check if Input::file('image') exists, because if it does not exist, it does not upload the image. Just follow my code:…
-
5
votes1
answer433
viewsOpen Popup (Bootstrap) by clicking on the checkbox
I have a table, where the user selects the months that have already been performed the checks. To perform this check, just mark a checkbox. However, I have a new demand, that when the user clicks on…
-
5
votes6
answers922
viewsListview very long
I created a ListView that features the songs of my sdcard, but as you can see in the image below it is very long regardless of the amount of items, I want its height to be smaller to display more…
-
5
votes5
answers6496
viewsDoes not record records in my database
I created a registration system, but when I click the sign up button appears the message "Could not insert record:"... Someone can identify this error as I have so far been unable to identify it.…
-
5
votes1
answer130
viewsjQuery plugin change attributes with $.extend
I created an object in a plugin above .fn. Because usually they are created inside the objects from there we do the following: (function( $ ){ $.fn.tooltip = function(options) { var defaults = {…
-
5
votes1
answer8798
viewsGoogle Maps API 3 - Search address by zip code + number (geocode)
I have made in an application the display of points on the map from an address typed in form. I use the API v.3, javascript, and get the address using geocoder.geocode(x,y). I have followed the…
google-mapsasked 9 years, 5 months ago Vinícius Bastos 313 -
5
votes1
answer91
viewsUrls in doctype and html tags
1) <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2) <html xmlns="http://www.w3.org/1999/xhtml"> HTML5 removed…
-
5
votes2
answers1913
viewsRemove space between span and input
I want to know how I can remove these spaces: So that the spanand the inputstay together, like here: My CSS: input, textarea { background: none repeat scroll 0 0 #FFFFFF; border: 1px solid #C9C9C9;…
-
5
votes2
answers374
viewsClick on Notification Desktop and go to the same window without refreshing the page
I am developing a chat with Websocket and I have a problem, when I send a message to a friend, he receives the desktop notification (from the browser he is) and when he clicks on the notification he…
-
5
votes1
answer239
viewsHow to get information from. torrent files?
I wonder how I can get information from a file .torrent using any of these classes: Torrent RW Torrent-parse…
phpasked 9 years, 5 months ago Lucas Caresia 2,663 -
5
votes3
answers557
viewsUnsigned int doesn’t work?
Next, my program keeps compiling even after I have assigned a negative value to an unsigned variable, why does this happen? I use IDE Code::Blocks 13.12 unsigned int numero1 = -1;…
-
5
votes1
answer1392
viewsHow to use redirect methods with Java Servlets
Hello, I have a page ordem_servico.jsp with a form that when submitted goes to Servletinsertordemservico which inserts the form data into the database. I am trying to make sure that when the data is…
-
5
votes2
answers6301
viewsRemove an item from a List<>
Well, I have a method that I consult at my bank and compare with a List<Carros>. My intention is, for every item that contains as much in my query as in mine List<Carros>, I remove the…
-
5
votes2
answers509
viewsIs using version control on the production server a good practice?
In the company where I work today, we have a Web system (C# ASP.NET) where we use the Team Foundation Server 2013 in the development environment. On the production server we don’t use any version…