All Questions

1
answer

open winword.exe from python with the OS module

Good evening I would like to know how I can execute an MS-DOS command from python. I need to open WINWORD.EXE and this is the code I use import os r = os.system("C:/Program Files (x86)/Microsoft Office/root/Office16/") T = r + os.system("/W...
asked on 18.08.2018 / 02:21
1
answer

implement performClick on android?

when I use the setOnTouchListener on a button, when I overwrite the onTouch method it tells me this    Custom View ImageView has setOnTouchListener enabled but does not replace performClick If a view that overrides onTouchEvent or uses an...
asked on 06.12.2017 / 04:04
1
answer

Send image with Ajax

How can I send an image through ajax? The code I have is this and for now it only sends text, how could I take the image of <input type="file" id="foto"/> and send it? My code: function updateProfile(){ var name = $("#na...
asked on 03.12.2017 / 21:23
2
answers

Control in loops and if?

I'm putting together a kind of Narrated Role using Javascript. I use a <input id="dialogo" type="text"> to place our answers around the situation that is happening in the "Adventure". I take the data of <input> wh...
asked on 30.11.2017 / 21:26
2
answers

Store data in an ArrayList

Given the following code: int x=0; int y=0; ArrayList<Point> casilla = new ArrayList<>(); Point punto = new Point(x, y); //Plantilla for(int n=0; n<20; n++){ for(int m=0; m<20; m++) {...
asked on 06.12.2017 / 12:03
2
answers

Remove items from a list in R

I have a list that is made up of 1000 data.frame (replicas), where each of the data.frame consists of 16 rows and 22 columns And I want to create lists where: List 1: this is composed of the values of column 1 and row 1 of all t...
asked on 28.11.2017 / 17:07
1
answer

Center the view on a word you have searched in a textbox

I have 2 textbox, in one position and I show a text and in the other I enter a word, I look for it and I highlight it in the text. The texts are very long and not all, so that part of the text does not appear (use a scrollbar). I want to know if...
asked on 22.11.2017 / 10:08
1
answer

Snowflakes effect with image

With the following HTML I have the snowflake effect with the letter * but I would like to change the asterisk letter to a real image, in icon size. HTML Code: <html> <head> </head> <script> // Numero de copos, rec...
asked on 04.12.2017 / 09:54
2
answers

Problem with error "Trying to get property of non-object"

I get an error when I'm going to execute my code, it's the following: Notice: Trying to get property of non-object in C:\xampp\htdocs\results.php on line 61 Number of books found : This is the HTML form: <!doctype html> <...
asked on 27.11.2017 / 01:35
1
answer

Git does not work for me .gitignore

Good I have a repository git with this .gitignore .DS_Store node_modules/ dist/ npm-debug.log yarn-error.log assets/img/file # Editor directories and files .idea *.suo *.ntvs* *.njsproj *.sln #Archivos de eclipse .project .buildpath...
asked on 07.12.2017 / 06:20