Posts by William • 617 points
49 posts
-
1
votes1
answer328
viewsQ: dataGridView with line break, but when exporting to excel no break
Galley, I have a dataGridView that used the following code snippet to break the text: dataGridView1.Columns[0].DefaultCellStyle.WrapMode = DataGridViewTriState.True;…
-
0
votes2
answers346
viewsQ: Simulate event click tag list Span
I have a page where I display some audios when the user clicks and fires the sound. Example HTML <td><span class="audiospeak" data-lang="en" data-aid="of">of</span></td>…
-
0
votes2
answers130
viewsQ: Show Edittext by clicking the Floatingactionbutton
See if you can help me I’m starting to work with Floatingbutton like when the user click on the button appears an Edittext for typing and a button at the end to delete the text as picture below: I…
-
0
votes1
answer48
views -
1
votes0
answers23
viewsQ: I cannot use debug in a library
I need to debug a lib I just created, I’ve done these steps: *Here is what worked for me: (After having clicked debug at least Once before) Open the debug view in eclipse (use the menu at the top:…
-
0
votes0
answers468
viewsQ: 404 Not Found Nginx/1.12.0
I’m in big trouble I have no idea what it might be. I send PUSH notifications some APPS, functional normally but a specific APP that has many users is giving the following error. The call in GCM is…
-
4
votes1
answer3134
viewsQ: How to call another PHP page inside a PHP page
Galley, I have a PHP page and now I need to call another PHP page passing the parameters I collected from my BD. How can I do that? I’ve tried that, but it wasn’t! $qry_str = "id=".$id_mensagem; $ch…
-
-1
votes1
answer43
viewsQ: How to check day of the week being 1,3,5
Galley, I have a field in my table that keeps the day of the month, example But in this very field I’m recording the information like this: 1,2,3,5,22 Today is day 22 DAY( NOW( ) = 22 See that in my…
-
0
votes1
answer23
viewsQ: Help with job creation agenda query
Galley, I’m making a script to trigger a message according to the record recorded in the database. It’s like a CRON task. I have the following record I will put a PHP page in the CRON task of…
-
0
votes1
answer144
viewsQ: Total records per day in the last 30 days
Galley, I just made this consultation, works very well until today(day 20) minus 19, only I need to show the last 30 days. That’s how it works SELECT ID, DAY( created_at ) AS DIA, SUM( 1 ) AS HORAS…
-
0
votes1
answer52
viewsQ: Plot X Axis Graph with Date
Galley, I have a chart and I would like to put on the X axis the Date It was like this: xAxis: { tickColor: 'transparent', tickDecimals: 2 }, I put it like this: renderer: $.jqplot.DateAxisRenderer,…
-
0
votes3
answers332
viewsQ: Receive Jquery and PHP response from second to second
Galley, I have a page in PHP that makes a query in the database at the end of the processing I show the amount of records updated. This process takes a while, in my Jquery I only show the total of…
-
2
votes4
answers304
viewsQ: Leave part of the APP in library
I have an APP with a separate package(Package) for PUSH notification, I would like to take this package and turn it into Library, so that in future apps only add to Library in my project. How can I…
-
0
votes1
answer294
viewsQ: Best way to make PHP Schedule
Good Morning, Everybody I have a GSM PUSH panel for sending notifications android apps is already working perfectly, but now the need to make a scheduling of push messages. I thought to do a routine…
-
4
votes1
answer131
viewsQ: Don’t send Push to users who no longer have the app?
I have a GSM PUSH panel and it turns out that when user installs the app I record his id to send future notifications. But after it uninstalls I continue with his ID saved in the bank and whenever I…
-
4
votes2
answers892
viewsQ: Grab Id and move to another function on click button
Galley, I have the following problem, I have a table and every record I have a link. By clicking on this link I take the ID as follows and call a modal. <script> $(document).on("click", "a",…
-
2
votes3
answers1491
viewsQ: How to get the link id with jquery
I have a grid and in the last column I will have a link that will be following format: id.1 id.2 id.3 id.4 I would like to click on the link <a id="id."'.$row["id"].' href="#"> Jquery identify…
-
0
votes1
answer26
viewsQ: I can’t add jsonArray return
I have a following problem: function send_notification(){ $jsonArray = json_decode($result); $cont_sucesso += $jsonArray->success; $cont_falha += $jsonArray->failure; } for ($i = 0; $i <…
-
1
votes1
answer258
viewsA: PDO passing the bindValue parameter
I ended up using the mysql function that our friend @stderr posted in the comments. foto=COALESCE(:foto, foto) If the parameter comes blank the COALESCE assigns a default value to the field, which…
-
1
votes1
answer258
viewsQ: PDO passing the bindValue parameter
I have the following parameter in my query UPDATE. $consulta->bindValue(':foto', $foto, PDO::PARAM_STR); What I would like to do is the following: If the variable $foto come blank, how could I…
-
0
votes1
answer188
viewsQ: Validation with Parsley and Modal window
I have a problem, and I can’t fix it. I have a button that when you click on it displays a message to the confirmation user, it turns out that before opening this modal I would like to validate if…
-
0
votes0
answers87
viewsQ: Problem with Boostrap clear Fileinput field
I have a page with 2 input text and 2 input file When I receive the answer from ajax, I have the whole form cleaned as code below, but only one field is not cleared: <input…
-
0
votes1
answer175
viewsQ: Hide Buttons and Enable Other with ajax
I have a page and in it I display a modal with 2 buttons, a confirmation and another cancellation, as code Below: Inside that modal I have a DIV <div class="resp"></div> This div I get a…
-
0
votes0
answers109
viewsQ: Upload without refresh using AJAX?
I have a page HTML and a page on PHP where I receive 2 files being one audio and the other an image and some input information. I would like the moment you make the post not redirect to the PHP,…
-
1
votes2
answers121
viewsQ: 2 Datagridview when clicking the first play the record in 2?
I’m using Winforms, I already have one Gridview populated, now I need that when the user double-click on a given line, he removes this record from the first grid and plays the same record on the…
-
1
votes0
answers126
viewsQ: Post to a fan page using Webbrowser
I’m making an application to post on my fan pages, already log in, list the fan pages, it’s all right. I’m just not getting to put the text in the facebook text box. Look here: <div…
-
0
votes0
answers75
viewsQ: Webbrowser can’t play my text in the text box
I have a system running on a client and now he asked me for a feature that I’m a few days cracking my head and I can’t do. He needs the application to post in his facebook groups at a certain time…
-
1
votes0
answers149
viewsQ: Form creation sometimes lags behind main form
Person, I am creating my children in the following way. BuscaUsuario _chld = new BuscaUsuario(); _chld.ShowDialog(); _chld.Dispose(); It turns out that if the user presses alt+tab or for example if…
-
1
votes1
answer472
viewsQ: Grab file size through Openfiledialog and save to a List<Attachment>
I’m making an application Windowsforms to send email, within this application I have an Opendialog that selects the files and saved within a: List<Attachment> AttachmentList = new…
-
6
votes2
answers897
views -
3
votes2
answers89
viewsQ: Deleting items in List
Staff I have a:List<Grupos> lista = new List<Grupos>(); And I have this code var matches = lista.FindAll(x => x.Nome_Grupo.ToLower().Contains(txtFiltro.Text)).ToList(); To filter only…
-
-2
votes1
answer140
viewsQ: Jquery does not load effect obtained through a service
I will try to present my problem as best I can. I have a page made in HTML and I have a service made in Java that returns me an html. In this my html page I use an ajax function to load the data of…
-
2
votes1
answer871
viewsQ: Calling a href page by passing the input fields of the form
I have a page that has several inputs, when I click on the button I open a modal with the result and inside dese modal I have another button to be clicked but I need to take the form fields and pass…
-
0
votes2
answers8227
viewsQ: Mask Percentage and Money field using only number?
I have an html page made for mobile, I would like to put 2 types of mask being % Percentage and R$ Money but I need this field to be type="number" to show the cellular numeric keyboard. I’ve…
-
0
votes1
answer141
viewsA: Ajax take form data to compose in the url
I figured you need to have the name="nome of input" to pick up the $('#form_t').serialize()
-
0
votes1
answer141
viewsQ: Ajax take form data to compose in the url
I have an ajax call that needs to take all the form fields and post to a URL. My code is like this: <script> $(document).ready(function() { $('#somebutton').click(function(event) { var…
-
1
votes1
answer77
viewsQ: Pick up service html and display DIV on my website
I have an Ajax function that returns me the html of a service that I have exposed, I would like to take this html and put inside the DIV of a site of my. My function is already picking up html, but…
-
2
votes1
answer160
viewsQ: Access List<List<string>> in a Thread
I am using Winforms I can’t access a list inside a Thread. That list I’ve populated it through another method. If you leave the cursor on top I can see the items, but when I will recover through…
-
0
votes3
answers124
views -
1
votes1
answer2403
viewsQ: Thread - How to use it without freezing screen?
I have a system that goes through some html elements, collecting some links. I would like to wait for a while, but whenever I use Thread.Sleep it freezes my program for the set time. I have used…
-
5
votes2
answers287
viewsQ: How do I index my app in Google searches?
How can I get my app (Android) to start appearing in Google searches? Edit: Look at these prints: Or…
-
2
votes1
answer327
viewsQ: Notification Bar with Bigpicturestyle and 2 lines text?
I need to make a notification with that aspect: I’ve tried everything and I can’t find anything like it. I managed to put 2 buttons below the image with: .addAction(R.drawable.sim, "Sim",…
-
0
votes1
answer60
viewsQ: Text update in Notification
I need to update a text in the notification bar but I can’t keep calling the same notification because in the tests I did when I call again it flashes my notification. I have an app that picks up…
-
0
votes4
answers706
viewsA: Place a url in the text field and show it in a DIV next door
Taking advantage of the hook of the question, displayed everything right, however I would like to not present the image in full size, would have to use some function or property to load the sample…
-
1
votes4
answers706
viewsQ: Place a url in the text field and show it in a DIV next door
How can I do that? I have a form that has some input text, I would like when the user pastes a url of an image on the web appears next to a div with that image. I think it would be with Ajax but I…
-
0
votes1
answer191
viewsQ: How can I make this layout?
How can I make this layout? Above is the image, below is a testo box. In the middle is the problem, are 3 buttons and 1 progressbar…
-
1
votes1
answer674
viewsA: Listview occupy the entire screen
Try this: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="fill_parent"…
-
0
votes2
answers871
viewsA: How to check if the user has typed a special character in Edittext?
Try it like this: if ("teste".indexOf("$") >= 0) // Tem $ else // Não tem $ You can put filter too, like this: InputFilter filter = new InputFilter() { @Override public CharSequence…
-
0
votes1
answer500
viewsQ: How to make this type of notification
How can I make this kind of notification? Even when you click clean it doesn’t leave the notification bar, it also has 2 buttons there. I’d like to do exactly like this, I’ve looked hard enough and…