Interesting questions
-
-1
votes1
answer40
viewspreg_match to pick words between single quotes and remove blanks from the end of match[1] with the same Pattern is possible?
According to the strings below, using preg_match, I need a Pattern that is able to separate what is inside and outside of simple quotes and remove $match[1] blank spaces from the end of the string.…
-
6
votes1
answer407
viewsPhoto taken by my app does not appear in Gallery
When generating the photo through my app it correctly creates the folder and saves the photos taken there, but when I go in the Mobile Gallery is as if the photos did not exist, the default Android…
-
0
votes1
answer130
viewsShow xml nfe tag value in datagridview columns
I have a little problem because I am reading the tags of an xml of Nfe, but I am not able to show in the columns of datagridview, my code is reading the correct tags, but do not notice anything in…
c#asked 7 years, 7 months ago Junior Guerreiro 617 -
0
votes1
answer174
viewsPopular Datagridview with Entity Framwork
I have in SQL Server a database called STORE; In this database I have a table called Funcio, it contains 5 columns and they are respectively: Name, CPF, Date, Date issued, Idfuncionario. In my C#…
-
16
votes3
answers6549
viewsWhat are providers? What is the difference between OLE DB and ODBC?
I need to read files dbf. I found a tutorial to read the same where the author uses these two providers. I only saw differences in the connection string. What are these providers? What is the…
-
1
votes1
answer177
viewsPre-development questions about android app with data synchronization
I would like to make a simple application to register users using java. But this app should keep a local database for offline data access and a cloud database to sync the information when I click on…
-
1
votes0
answers44
viewsSql Server Function - 0 hours today to the current time
Please select the amount of hours in regression until 00:00 hours in Sql Server, always of the current day. I get this through a function like 'DATEADD'? Ex: Now it is 15:00 hrs would like to pick…
-
3
votes1
answer12649
viewsAlgorithm that reads 50 numbers, calculates and shows the arithmetic mean, the largest and smallest number
I’m a beginner in programming and I came across an algorithm that I need to solve but I’m not getting it. Read the 50 numbers using the "for i from 1 to 50 knife" I did, now I can’t insert the…
-
5
votes3
answers115
viewsRegular expression of citations in R
I would like to extract all reference keys I use in a document markdown beginning with the character @. Here is an example of the different ways I can quote a document using this key: line <-…
-
1
votes2
answers1031
viewsHow to create a panel that Displays/Hides fields using Html/Bootstap/Javascript
I need to implement on a screen, a search panel that needs to appear when I click the button (Advanced Search) and within that panel there should be a "Close" button that, when clicked, will hide…
-
6
votes1
answer4172
viewsPaint Dbgrid lines by selecting them
I’m painting the lines of a dbgrid, in the Delphi-xe3, but my condition to paint the selected line is not working properly. When selecting the row (set the focus) only the first column is being…
-
2
votes1
answer2910
viewsHow does the 'Shown.bs.modal' event work?
The doubt is simple : How the event works¹ shown.bs.modal in Boostrap CSS? How could I create something like this event ? ¹ - Not how it works to use this event, but how the plugin has a special…
-
0
votes3
answers355
viewsGmail displaying source host on recipient when using PHP mail()
Hi, I need to send automated emails as requested by the user. I have the function that makes this sending but in the server the sender stays this way in gmail: contact site.com for…
-
2
votes1
answer403
viewsHow to force ie10 to download page completely?
I have a page that is actually quite simple, with html and a canvas with only a few lines, nor bootstrap I’m not using. And she simply "aborts" the download of various elements, as some CSS images…
-
0
votes1
answer1443
viewsError: Jsonexception: End of input at Character 0, when sending Android information to a PHP Webservice
I’m sending information from Android to a PHP Webservice via lib Volley. Everything works perfectly, except with special characters. Map<String, String> params = new HashMap<String,…
-
1
votes1
answer138
viewsInsert error in database using PDO: "Only variables should be passed by Reference"
I am passing input parameters in the database using PDO and O, but when giving the Insert command using the parameters $stm->bindParam(1, $usuario->getnivel()); it returns error saying that I…
-
7
votes1
answer388
viewsParamiko Error Handling (Python)
Hello, I am mounting a script where the user will authenticate on a device, if everything goes well the code continues otherwise it shows an error message. I am using the Paramiko library to do the…
pythonasked 9 years, 7 months ago Cristhian Miguel 207 -
2
votes1
answer41
viewsQuestions regarding Events mysql
I created an event in a database Mysql, I noticed when I restarted the bank localhost, the event returns offline, someone knows if it is like that or if you have to execute a command whenever the…
mysqlasked 6 years, 7 months ago Amanda Garcia 65 -
1
votes0
answers35
viewsWhat is the meaning of the term: Thread-Agnostic
What is the meaning of the term: Thread-Agnostic? It is possible to exemplify? NOTE: I checked the use of this term in a Microsoft documentation but this was not clear, Link…
-
2
votes1
answer141
viewscreate custom mask
How do I create a custom mask for a particular field? The mask will be in the following format: ____OB_____ (4 numbers + OB + 5 numbers) The image below shows the example I want to follow:…