unable to open csv file from mail app ios11

I have an app that exports a backup csv file via email which I can then use to import back into the app via "copy to". Up to iOS11 it was all working fine. Now with iOS11 in the mail app I get the name of the file and "comma-seperated values" when I ...
more »

2017-10-04 22:10 (0) Answers

Excel VBA copying a filtered selection

I have the following code that filters a column a pastes it in another worksheet Sub FilterData() Dim rlow As Long, erow As Long, erow2 As Long Dim av As Variant, bv As Variant Dim p As Long, q As Long lrow = Sheet3.Cells(Rows.Count, 1).End(xl...
more »

2017-09-12 16:09 (0) Answers

Why clone() is the best way for copying arrays?

It's a shame for me, but I did not know that: You should use clone to copy arrays, because that's generally the fastest way to do it. as Josh Bloch states in this blog: http://www.artima.com/intv/bloch13.html I always used System.arraycopy(...
more »

2017-09-10 23:09 (3) Answers

Copy array of cell values to range in VBA

I am trying to copy a sheet to a new workbook with only values, not formulas. I need one column to retain formulas. It may not be the best method, but I am trying to copy the formulas to a variant array, then copy the values, then add the array of ...
more »

2017-09-03 23:09 (1) Answers

Gradle exclude module for Copy task

I have a Copy task set as follow: task copyToLib( type: Copy ) { into "$buildDir/myapp/lib" from configurations.runtime // We only want jars files to go in lib folder exclude "*.exe" exclude "*.bat" exclude "*.cmd" exclude "*.d...
more »

2017-08-15 15:08 (2) Answers

gradle copy include closure not working

Gradle copySpec include closure not working: def fileList = ["hello/world.xml"] task foo(type: Copy) { from (zipTree("/path/a.zip")) { include { elem -> fileList.contains(elem.path) } } } The a.zip contains "hello/world...
more »

2017-08-04 21:08 (1) Answers

Excluding 1 line from VBA Copy Range

I am working on some code to consolidate multiple worksheets which form individual parts lists into 1 large parts list. So far I have 2 functions which scan each worksheet for the last row and column Function LastRow(sh As Worksheet) On Error Resum...
more »

2017-07-25 11:07 (3) Answers

Copy and Paste Filtered rows in VBA

I am trying to copy and paste some rows of a filtered table to a range of cells in Excel. As a filter has been applied, the rows to be copied are now always the same. I am trying to paste the copied rows on to cell O2. I have tried to do it this way:...
more »

2017-07-13 13:07 (1) Answers

Copying and Merging two strings in C

Note: Follow Alk's solution as a guide on your implemetation I want to create a function that will let the user insert a directory where output files would be saved. My output files will have a static name so I just need the path. I want to read th...
more »

2017-04-24 12:04 (2) Answers

C language copying arrays - error in code

I am trying to copy elements from two arrays into a third. I can't understand why it doesn't work. I made sure that the two arrays are filled properly, but for some reason, the actual copying doesn't work- when I print the elements of the arr3, I get...
more »

2017-04-18 16:04 (2) Answers

javascript object array is not changed

This code is about fetching data from MongoDB and changing '_id' element to 'id element. But I found object array is not changed. router.get('/loadList', (req,res) => { Post.find({}, (err, list) => { //fetching data to list if(err...
more »

2017-04-07 08:04 (1) Answers

Copy column with VBA if date equals month

I would like to have a macro to copy column of data if the data matches. Each month the report spits out the current month of data, and i have to copy and paste the column B data into the the column that is the same date of the month. In cell A2...
more »

2017-04-06 14:04 (0) Answers

Sorting all worksheets in the workbook

I have this code that actually do exactly what I want to: goes to the specific range, copy the table in a new range and reorder the table. Here is the code: Sub copy_paste_sort() Dim oneRange As Range Dim aCell As Range Dim WS_Count As Integer D...
more »

2017-03-29 22:03 (2) Answers

Deep copying Generics in Java

I have a programming assignment to make a generic stack in Java and I need to make a deep copy of newNode T. I don't know how to make a method deep Copy that can access its self and output i'`s deep copy. So far, I have this: public class Stack<...
more »

2017-03-19 03:03 (1) Answers

Python: Numpy __deepcopy__ TypeError

I'm trying to use deepcopy on an ndarray, and the line looks like this: foo = myArray.__deepcopy__() I'm getting: TypeError: function takes exactly 1 argument (0 given) I need a deep copy, and I can't import copy. ...
more »

2017-03-17 00:03 (3) Answers