Posts by Prostetnic Vogon Jeltz • 408 points
28 posts
-
1
votes1
answer200
viewsQ: Error when buildar for android Ionic
I’m getting the following error: BUILD FAILED in 0s /home/Flavio/helloworld/Platforms/android/gradlew: Command failed with Exit code 1 Error output: FAILURE: Build failed with an Exception. Where:…
-
0
votes1
answer38
viewsA: Remove Whitespace in Array
You can use the .trim() element = this.pedido.produto; if (this.vetCarrinhoAux.indexOf(element) === -1) { this.vetCarrinho.push(element); localStorage.setItem("vetor",…
-
0
votes1
answer138
viewsQ: Image manipulation with nodejs and Ionic
I have an Ionic application, in it I have to send an image converted to Base64 for an api, and the api for the database. I was getting error by the size of the payload, I found on the internet about…
-
0
votes1
answer43
viewsQ: not in the same table
Let’s say I have the table CON_CONTRATOS and in it I have con_customerId, con_vencimento among others. And I need to make a select that returns ALL contracts of a Costomer whose same only contract…
-
0
votes1
answer452
viewsQ: Error running npm install
I just installed linux Deepin on my pc, installed Node.js 10.0.6 along with npm 6.0.4. When running npm install , he of the error, so I executed the following command: npm audit fix --force and I…
-
1
votes1
answer333
viewsA: Ion-select does not work as it should
For me it worked like this: <ion-item class="drop-categoria" style="margin-bottom: 5%; "> <ion-label>Categorias</ion-label> <ion-select [(ngModel)]="cati"…
-
0
votes1
answer333
viewsQ: Ion-select does not work as it should
I have the following code for ion-select: <ion-item class="drop-categoria" style="margin-bottom: 5%; "> <ion-label>Categorias</ion-label> <ion-select [(ngModel)]="catselected"…
-
-1
votes2
answers66
viewsA: Price calculation algorithm does not display the result correctly
You can do as for example (since the values are static) : case 1: aux = (valor - 1) * valor; printf ("Voce vai pagar R$ %.2f", aux );
canswered Prostetnic Vogon Jeltz 408 -
1
votes3
answers2770
viewsQ: Select from the line with the highest ID
I have the val_products table, where you have id_product and product value, I need to select * only on the line whose ID is the largest, for example, I have two products with ID’s 1 and 2, but I…
-
1
votes2
answers126
viewsQ: How to insert a Where into a Linux query
I have the following query: var result = (from line in db.ApadrinhamentoListas group new { line } by new { line.datahora, line.valor_doacao } into grp select new { DataHora = grp.Key.datahora, Valor…
-
1
votes1
answer114
viewsQ: Error trying to change a user’s role
I am getting the following error while trying to change a user’s role : Server Error in Application '/'. UserId não encontrada. Descrição: Ocorreu uma exceção sem tratamento durante a execução da…
-
1
votes1
answer210
viewsQ: Eviar view parameter for action
I have a views that lists my users, is basically in the pattern generated by Asp.net mvc with Entity, the data is in a table, and within this table I have a : @Html.ActionLink("Aprovar cadastro",…
-
3
votes3
answers948
viewsQ: Logout com Identity
I am trying to use the logoff function offered by default in Identity: // POST: /Account/LogOff [HttpPost] [ValidateAntiForgeryToken] public ActionResult LogOff() {…
-
0
votes1
answer25
viewsQ: Concatenate an SQL value
I have a Rigger that updates a certain table of raw material, however it replaces the existing quantity and I need it to concatenate the new value with the existing value, someone could help me how…
-
0
votes1
answer68
viewsA: Do not hide div when performing function
In case someone has the same problem, I solved it this way: <asp:ScriptManager runat="server" ID="sm"> </asp:ScriptManager> <asp:updatepanel runat="server"> <ContentTemplate>…
-
1
votes1
answer68
viewsQ: Do not hide div when performing function
Hi, I’m doing a college project where I have to use web Forms. By default in my project I have a div that is None by default in css, and within this div is a small form, as follows the example:…
-
1
votes1
answer80
viewsQ: As popular jtable with xml file titles
Hello, I have a cruel doubt about how to do something, I need to popular a Jtable with a list of xml files that are in a certain folder, but I have no idea how to do it or how to search for…
javaasked Prostetnic Vogon Jeltz 408 -
1
votes1
answer193
viewsQ: Open dropdown
I would like to know if there is any property so I can leave a dropdown open in the loading of the page, only closing if the user click on the tab. Note: I am using bootstrap. <li> <a…
-
0
votes1
answer1358
viewsQ: Form validation with jquery
I have to do a form validation for a college job, but it’s not working and I’m not succeeding in finding the error. Grateful for the help. <script> $(document).ready( function(){ //Quando…
-
-1
votes1
answer32
viewsQ: Implementing a system on the server
I have to install a java application whose database is on the server. However I have doubts about the process, through searches, I conclude that I only have to install Mysql on the server, and in…
mysqlasked Prostetnic Vogon Jeltz 408 -
2
votes1
answer553
viewsQ: Find out the size of a directory
I wonder if it would be possible to find out the size of a directory in JAVA. I have a cache folder on my system and I would like to do a function forever that this folder exceeds a predefined size…
javaasked Prostetnic Vogon Jeltz 408 -
4
votes1
answer645
viewsQ: Temporary text in Jlabel
I would like to exchange the text of a JLabel and leave it for just a few seconds, then go back to the previous text. I have to execute a method that takes a few seconds to get ready and would like…
-
0
votes1
answer121
viewsQ: How to change the size of a Jfilechooser?
Hello, I wonder if anyone knows any way to increase the size of a Jfilechooser like this : I would like it to fill up all the space left on the screen, to make it easier to locate the files. Thanks…
-
1
votes1
answer47
viewsQ: My Labels are abbreviated when running program
When I run my program the text that is inside my Abels are abbreviated, I even try the space needed, to solve I have to leave an absurdly large space inside the label, which gives a lot of work to…
-
0
votes1
answer290
viewsA: Help to fill jTable
I was able to do so, if someone reading it has the same doubt. Here is the solution : public void jTablePop() { javax.swing.table.DefaultTableModel dtm2 =…
-
1
votes1
answer63
viewsQ: Would it be possible to convert a form to pdf?
Would it be possible to convert a form to pdf or print it ? made in java, and are in a database as well.
javaasked Prostetnic Vogon Jeltz 408 -
2
votes1
answer290
viewsQ: Help to fill jTable
I’m filling out a jtable with the birthday kids who are registered in a database. public void jTablePop() { javax.swing.table.DefaultTableModel dtm2 =…
-
3
votes1
answer46
viewsQ: Doubt about Select
Hello, I am doing a user/password verification in java and I need to perform a query in which check in the database there is a login and a password related to the typed in jTextFields. But I’m not…