All Questions

2
answers

Extract 4 random Strings from an Array in JavaScript

How could I extract 4 strings randomly from an array, for example this var myArray = ["Rufles Original", "Aceitunas", "Lays al punto de sal", "Doritos TexMex", "Nachos", "Aceituna maceradas", "Rufles Jamon Jamon", "Cerveza", "Coca-...
asked on 07.09.2016 / 11:16
1
answer

Object reference error

When filling a list in a ViewModel, I get the error:    Reference to object not established as an instance of an object. The ViewModel is this: public class vmMovimientosParking { public vmMovimientosParking() { List...
asked on 29.08.2016 / 11:05
1
answer

Graph with Python, Pandas

I have to graph from a csv file similar to this: Cedula,Genero,Placa,Tipo,Multa,Fecha 0931921407,Femenino,GYS-9575,Automovil,Grave,2016-06-13 0910703362,Masculino,GSF-7654,Automovil,Leve,2016-02-18 0931921408,Femenino,GOI-3298,Automovil,Muy gr...
asked on 23.08.2016 / 00:45
1
answer

How to know with JavaScript which address is scrolled?

How was the address scroll on the page? I want that when you scroll down, you do an action and another action when you scroll up.     
asked on 05.09.2016 / 21:03
2
answers

MultiVentana Support for the App on Samsung's TouchWiz (Android)

Today I have been moving my apps on a Samsung tab S2 device that has multiventana, but when I try to get my app to see a part of the screen I get a message, the app does not support multiventana. What directives should be put in And...
asked on 03.09.2016 / 19:08
1
answer

How to fix Error: "The provider 'Microsoft.ACE.OLEDB.12.0' Not registered on the local computer"

When executing a program designed in Visual Studio 2015 Community, it sends the following error: "The provider 'Microsoft.ACE.OLEDB.12.0' Not registered on the local machine" , Already install the 64-bit drivers (I'm on windows 10 64 bits) and...
asked on 18.09.2016 / 03:35
2
answers

How to generate a condition in javascript to deny access to a function?

Well, I am trying to create a condition where if a select element is empty, deny the call to a function made in ajax, but my problem is that I do not know exactly how to create that condition. Here is my code attempt. function LimpiaEstado() {...
asked on 08.09.2016 / 00:07
2
answers

Error using require_once

My problem is the following one I have an index.php file which has a login that sends the information "controller / login.php" which has inside these two require_once require_once 'conx/Db.php'; require_once '../libs/Security.php'; t...
asked on 09.09.2016 / 05:33
3
answers

Save date type value in SQL on en-US server

I am trying to save a string of type date in a field of the database, but when I try to save a date whose day exceeds day 12, it returns the following error:    String was not recognized as a valid DateTime. I tried to for...
asked on 09.09.2016 / 13:28
1
answer

Formatting result in SQL display '000025' instead of 25

I have a table with the following structure: ID MONTH 21714 JAN 76101 JAN 175187 FEB 243575 APR 299116 JUN 304742 JUN I need to generate a string of 14 characters for each record similar to 'ABC00...
asked on 12.10.2017 / 15:21