All Questions

1
answer

Delete the characters in two strings if the character matches the string

I have a problem with Java and it is as follows: I have these two String : String string1 = "aabcdef"; String string2 = "abcghi"; And I need to get this "adefghi" . public static String regenerate(String a, String b) { S...
asked on 28.03.2018 / 20:02
1
answer

Does not order data with format ##, ## 0.00 VB.NET

I have an application that makes some calculations and I save them in a datagridview, to a column I give the currency format in this way: Format(totalMarca, "##,##0.000") So far so good, but I try to sort the data and do not do it. The fo...
asked on 27.03.2018 / 15:43
1
answer

href = tel: It works intermittently

Good day, I have the following piece of code in the index of my page: <div class="col-sm-3 claseHome"> <button class="btn btn-primary"> <a href="tel:11111111"><span class="glyphicon glyphicon-earphone">...
asked on 21.03.2018 / 15:07
2
answers

Remove specific element in similar arrays within array

I need to get the status of the following associative array array: array (size=2) 0 => array (size=9) 'idnovedades' => string '1' (length=1) 'idGarantias' => string '329' (length=3) 'numeroOperacion' => string '329' (length=...
asked on 29.03.2018 / 14:25
1
answer

Nothing happens when I send in php form

I am studying php and I am doing a form where it is very basic that contains 2 input (Number 1 and Number 2) and a send button, what happens is that when you write the values in the input and give the send nothing happens, the only thing that do...
asked on 28.03.2018 / 22:56
2
answers

Problem with sweetalert confirm link

Good morning, I am somewhat confused since I tried to make a confirmation modal before going to a link (basically before deleting an item from the DB, asking if it is safe) using sweetalert2 and I get several errors that I can not / I can sol...
asked on 13.12.2017 / 13:29
2
answers

Consuming a service from the web api in mvc?

I am trying to consume web service api via httpwebrequest and razor to show it in mvc view. in the mvc controller I have this code in which I want to consume the api using EntradaElectronicaAlmacenApi.Services; using System.IO; using System.Ne...
asked on 27.03.2018 / 01:43
2
answers

Delete files with Python

I'm trying to make a bash adaptation (the Linux terminal) in Windows, for this I'm using Python. #-*- coding: utf-8 -*- import subprocess import os if __name__ == '__main__': wt = True while wt: cmd = str(raw_input("{}>".for...
asked on 26.03.2018 / 23:12
1
answer

Show nav options within the margin of the div container in Bootstrap

In Bootstrap 4 you define: <nav class="navbar ... and the navigation bar occupies the entire width of the screen just like the elements. And if we define the <nav> within a div="container" , bootstrap gives it side m...
asked on 19.12.2017 / 22:14
1
answer

java.lang.NumberFormatException: null what does it mean?

I'm getting an error and I do not understand where I have it, it says it is when importing the file however after reviewing everything I still do not understand.    java.lang.NumberFormatException: null This is the method to load interfac...
asked on 07.12.2017 / 13:09