Interesting questions
-
0
votes1
answer433
viewsWPF select all Datagrid Checkbox
Hello, I’m trying to select all Checkbox of a datagrid but I’m not succeeding. Below is my code to select: private void CheckUnCheckAll(object sender, RoutedEventArgs e) { CheckBox chkSelectAll =…
-
0
votes1
answer69
viewsError accessing end-point using restsharp
I have an API (.NET Framework 4.8) that communicates with another layer (.NET Framework 4.0) where I have developed a method that persists an information in the database, and at the end triggers…
-
0
votes0
answers64
viewsUndefined variable error
I have this code and it tells me that Spec is not defined in (pcolor(freq,tstart,Spec);colorbar), but I am calculating it in the cycle.. Does anyone understand why the mistake? Thank you! N…
matlabasked 9 years, 11 months ago Sofia Raimundo 537 -
1
votes1
answer1277
viewsput a load with jQuery on the button
I have a very simple button, but I wanted to know if it is possible to load the button when it is clicked. I wanted to use jquery. Follow the code of my button. .button { margin-top: 12px;…
-
1
votes1
answer122
viewsHow to capture the colors of a label that is behind another label?
I have two Jlabels superimposed on each other. JLabel label = new JLabel(); label.setBounds(15, 15, 300, 300); label.setOpaque(true); label.setBackground(Color.red); JLabel label1 = new JLabel();…
-
2
votes2
answers574
viewsItem limit in "foreach"
I have a code that picks up the images from the folder images/FotosdoWhatsAPP, but is displaying all images, would like to display only a quantity X (ex: 5 images). <?php $dirname =…
-
1
votes1
answer25
viewsError trying to install watson_developer_cloud
I am trying to install watson_developer_cloud using pip. After some time and after some dependencies to be installed I get the following error: Command "c: users i appdata local Programs python…
-
0
votes1
answer728
viewsHow to get the value of a text with Cypress?
I need to capture the text of an element with Cypress. I am using: const test = cy.get('elemento').invoke('text') cy.log(test) The log shows: Object{5}. What do I have to do to get this log? Because…
cypressasked 5 years, 2 months ago Lucas Marcos 11 -
0
votes2
answers48
viewsError in form validation
What I need to do is when the email is not valid send from the javascript alert wanted to show a message above the form in question that showed the email was invalid! HTML CODE <input…
-
0
votes1
answer966
views -
1
votes1
answer100
viewsJava problem in Mathcad and Modefrontier integration
I’m testing the modeFrontier with a simple multi-purpose optimization problem of ESTECO A simple multi-objective Optimization problem Modefrontier can generate input variables h and r but cannot…
-
1
votes2
answers582
viewsHow to create a function that returns the lowest expiration date between batches of a given product?
How I create a function that returns the shortest expiration date between batches of a particular product? Dry my SQL code: create database Exemplo; use Exemplo; create table produto (codProduto…
-
2
votes2
answers727
viewsSquare root and cube number in a table
I am learning PHP and I have a job where I have to do the square root and cube of the numbers from 1 to 10, displaying in a table with PHP. I’ve managed to put the square root of the numbers 1 to 10…
-
1
votes1
answer81
viewsStrange behaviour of Rand() function
By the definition in documentation echo rand() // Imprime algo completamente aleatório echo rand($min, $max) // Imprime algo em um range entre min e max In a code, inside a loop, I accidentally…
-
0
votes1
answer117
viewsQuery validation based field update
I created a source to update a field within a table based on a query validation, ask it works in debug, but for some reason it doesn’t go through the array, and also doesn’t update any record, even…
advplasked 6 years, 9 months ago user106077 -
1
votes2
answers414
viewssquare div with 45º angle
The question is complicated and I believe the answer will be as well. I do not know how to explain very well what I would like to do (and I don’t even know if there is a way), exactly why I put…
-
2
votes1
answer482
viewsScroll through an array bash script
Can someone give me an example of an if and case running through an array in bash script? I’m just finding an example of what it’s for to list the items.. I’m trying to make sure ex: v1=("sim" "s"…
-
3
votes1
answer66
viewsAssign/Print values to void * in a structure
#include <stdio.h> typedef struct elem{ void * d; }Elem; main(){ Elem *p; Elem e; double pi = 3.14; e.d = π p->d = π printf("%f\n",p->d); printf("%f\n",e.d); } When I do…
-
-1
votes2
answers562
viewsUse update method without using Edit, Laravel
I have a view q shows a user’s access key, in it I need to press a button q will update the access key randomly, the update returns to the view but does not modify the key. How can I fix this?…
-
-2
votes2
answers362
viewsDate_format does not work in code
After following several instructions and operating guides of Date_format, I preferred to ask for help as I tried everything and could not format the date and time output of the Mysql database. Does…