All Questions

1
answer

Problem uploading file with Django

I just started working with Django 1.11. I am trying to upload a file using a form. I leave some samples of my code below. First my form in forms.py: class UploadFileForm(forms.Form): title = forms.CharField(max_length=50, label='Titulo...
asked on 26.05.2017 / 15:29
3
answers

How do you get the parameter?

When I have the following: var anyn = [1,2,3,4,5,6,7,8,9,10]; function hacerAlgo(elemento) { console.log(elemento) } anyn.forEach(hacerAlgo); I know it works like this, but I want to know why and how this is called, I would like more ex...
asked on 25.05.2017 / 02:48
1
answer

Connection to Sql Server by JAVA - Windows Authentication

I want to connect to Sql Server using Java with Windows Authentication but I get the following error: This driver is not configured for integrated authentication. ClientConnectionId: 0b65956b-a286-4aef-a372-ab741a239761 This is the code I use...
asked on 09.02.2017 / 19:20
1
answer

Get brand and model of the PC motherboard in java? [closed]

How can I find out the make and model of the Motherboard of the PC on which my Java program is running? thanks.     
asked on 26.05.2017 / 14:07
1
answer

how to save an excel range to acces with this code

I have this excel vba code Dim cs As String Dim sPath As String Dim sql As String Dim sql2 As String Dim cn As ADODB.Connection sPath = ThisWorkbook.Path & "\datos.accdb" cs = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & sPath &...
asked on 30.05.2017 / 15:03
1
answer

Modify status: focus from HTML

I wanted to modify the :focus status of an HTML element from the HTML tag itself. Let me explain, for example I can define the styles on the label itself: <div style='background: grey'> </div> That in CSS would be e...
asked on 28.05.2017 / 20:38
1
answer

Compare both sides of a matrix in java

I'm trying to make a program that says if the matrix is the same from any side that looks at layers, that is, in the matrix 1 1 1 1 1 1 2 2 2 1 1 2 3 2 1 1 2 2 2 1 1 1 1 1 1 has a first layer of ones, then another of two and a last of three...
asked on 24.01.2017 / 09:55
1
answer

Failed to access dynamic arrays c ++

Good afternoon. I spent the whole afternoon going around revising my code since I have been using the DEV C ++ and I have compiled a matrix whose declaration had variables, however, I knew that it could not be and when I passed it to other compi...
asked on 26.05.2017 / 18:02
1
answer

File upload does not work in Firefox

I have been working on an online storage server via the web. I have developed all the functionality of the system using servlets and I have all file management working. The problem is that the file upload does not work in the Firefox brow...
asked on 21.01.2017 / 16:17
1
answer

Error in database, Android Studio

I have a method in the DBHelper class (which is where the database is created), and what I want to do in this method is read data from one table and add it to another table but it gives me the following error: 01-20 23:51:07.697 5880-5888/? W/...
asked on 20.01.2017 / 22:58