All Questions

1
answer

Error executing code with ListView, SelectedItems

I have an application which consumes several web services. What I'm trying to do is once this service is called, which should give me a list of project names, I'd like to add them to a ListView and that the user can choose which projec...
asked on 10.10.2016 / 15:21
1
answer

block / unlock powershell

I have this bat script to block / unlock powershell but it does not work on x64 (and sometimes not on x86) and sometimes I manage to block it but not unlock it (Could not start CLR, HRESULT: 80070005.) and doing a Get-ExecutionPolicy - List Ma...
asked on 11.10.2016 / 19:08
1
answer

Load data in $ scope dynamically

I have a call to an API, in which I recover several data. I just want to show some of the fields, so I have created an array with the fields I want to show: var CamposAPI = ['a','b','c','d','e','f']; var campo = CamposAPI[i]; (está dentro d...
asked on 10.10.2016 / 15:54
5
answers

Avoid double login

I'm having a problem with double logging. I want that, when a user is logged into a browser and wants to log in with the same account in another browser, this one does not allow it. How can I do it in PHP? This is my session code: $user_...
asked on 14.10.2016 / 07:42
2
answers

'++' is deprecated: it will be removed in Swift 3

I am migrating a class to Swift 3 and it shows me the error: '++' is deprecated: it will be removed in Swift 3. This is the code: column = column >= (numberOfColumns - 1) ? 0 : ++column The problem is in ++ column.     
asked on 07.10.2016 / 15:17
1
answer

Replace full (almost equal) words in Java

I am writing a program and I need to replace some words with others, but sometimes the words can be similar. Words do not have spaces, and they are always complete words. Example: String[] palabrasAcambiar = {"pan","pan2"}; String[] valo...
asked on 12.10.2016 / 07:41
1
answer

Why are the conditions not met?

When I start this program, for example I put value 11, I do not get into the conditional if ((valor >10)&&(valor <20)) , why can it be? /* * To change this license header, choose License Headers in Project Properties. *...
asked on 08.10.2016 / 06:29
1
answer

Error downloading the AiAT SiiFactFEV1SOAP web service

I try to add to a new project in Visual Studio 2017 a reference to the Web Service of Immediate Information Supply (SII) of the Spanish Tax Agency (AEAT) with the test environment URL. From the solution explorer, I select the project, context...
asked on 09.04.2017 / 07:44
2
answers

How to edit a url with JS?

In the JS that I am developing, I must enter and / or use a url dinámica in case the project name changes ... For this reason, try using the following: alert(window.location.pathname); which shows me the following /proyecto/ind...
asked on 06.04.2017 / 13:18
1
answer

Back up content from a DB in /data/data/package/databases/db.dbname in sdcard?

My application creates a db, what I want to do is a backup of what it contains then I do the following code: File CarFile = new File("sdcard/xxxx"); if (!CarFile.exists()) { try { CarFile.mkdir(); } catch (Exc...
asked on 11.10.2016 / 00:17