All Questions

3
answers

Shape does not apply correctly

I want to put this shape on my button but it is not being applied correctly, since in the middle there is a blank rectangle that does not show the edges of the shape. <shape xmlns:android="http://schemas.android.com/apk/res/android" android...
asked on 12.10.2016 / 16:44
1
answer

Concatenate values resulting from an INNER JOIN in a string separated by commas in SQL Server 2012

I have the following schema in SQL Server 2012: Tabla 1 Id INT PRIMARY KEY Descripcion NVARCHAR(20) Tipo INT Tabla 2 Id INT PRIMARY KEY Nombre NVARCHAR(80) IdTabla1 INT --Llave foranea a la primera tabla Tabla 3 Id INT PRIMARY KEY Nombre NV...
asked on 09.11.2016 / 16:52
3
answers

Validate a textbox in C #

How can I make my textbox accept only the 0 and the 1. Or only accept a character. This is the code I have. private void press(object sender, KeyPressEventArgs e) { if (Char.IsLetter(e.KeyChar)) { e.Handled = tr...
asked on 22.11.2016 / 18:00
1
answer

Create index with a substring field

Is it possible to create an index in mysql but the index field is a substring? For example: Create NON-UNIQUE INDEX nombreInidice on nombreTabla (SUBSTRING(nombreCampo FROM 1 FOR 4)) USING HASH;     
asked on 18.11.2016 / 14:45
2
answers

Correct handling of pointers

I'm having problems performing implementations of some of the shell commands in C. From my point of view it seems that it is due to an incorrect handling of pointers in C (I have not learned this language for a short time). At the moment I am tr...
asked on 28.11.2016 / 00:10
1
answer

Consultation on 2 lists in python and mathematics

I have 2 lists lista1 = ["R1","R1","R2","R3","R4","R5","R6"] lista2 = ["Frase 1","Frase 2","Frase 3","Frase 4","Frase 5","Frase 6"] I would like ALL the 'Rx' in the list1 to be combined with ALL of the list2. Not sequentially, but randomly....
asked on 19.04.2016 / 17:50
1
answer

Bring Query result (select * from ...) to XML

I wanted to know if there is a way in Oracle 10gR2, that the result of a query ( Select * from ... ) is stored in an XML. I want a stored procedure to have a single output parameter (XMLType), but the information in this parameter varie...
asked on 13.10.2016 / 01:18
3
answers

Access Denied or network error when trying to show file

I am developing an application Java Web App mounted on Apache Tomcat 8.0.27 . Both in the Internet Explorer browser and Google Chrome , I get errors when I try to show some file that I have deposited locally on my machine. The possible...
asked on 21.10.2016 / 18:17
2
answers

delete exe files and exclude one

I'm creating a bat to remove all .exe files from my desktop and downloads folder (which sometimes accumulate from so many downloads) ... call:delfiles "*.exe" exit :: funcion delfiles @echo off pause goto:eof :delfiles set delfiles=%1 attr...
asked on 27.10.2016 / 16:03
1
answer

Create buttons on Android programmatically

I'm doing a project on Android and I want to add some buttons in one of my activitys, which must be added as the users create them, so I must be able to create them dynamically. I would also like them to change color according to certain user...
asked on 18.03.2016 / 17:39