To copy is to create a duplicate of an object without destroying the original. Commonly seen in text editors that will let you copy some text and paste it somewhere else.

learn more… | top users | synonyms

1
vote
2answers
36 views

How to copy an array to extended array?

I have defined my extended class this way: public class ExtendedAttributeMetadata : AttributeMetadata { public bool IsTwoOption { get; set; } } But upon copying the source array of type ...
0
votes
0answers
6 views

UIImage View copy and drag image

I have managed to make my image move around the screen successfully with the following viewcontroller.m code -(void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { UITouch *touch = ...
0
votes
0answers
5 views

Can you copy a Composite C1 website?

FOR COMPOSITE C1: Can you copy a Composite C1 website? I would like to create a copy of an existing website as a new website. I start by creating Site A. Then I want to copy it and create Site B. ...
0
votes
5answers
24 views

Can you copy a website?

Can you copy a Composite C1 website? I would like to create a copy of an existing website as a new website. I start by creating Site A. Then I want to copy it and create Site B. For example: copy ...
0
votes
0answers
24 views

Mac Os Qt Copy files on a repertory without sudo auth

I work on Mac OS & Qt and I'd like to copy files (with a home-made function) in /Library/Frameworks but the copy fail each time. The problem is coming from identification but I don't know how to ...
0
votes
2answers
30 views

how do I copy an object containing collections as fields

consider the below code: public class Bid { private double pe; private List<ResChar> resourceList; protected Map<Integer,Integer>scheduleOfSeller ; public Map<Integer, Integer> ...
1
vote
6answers
59 views

How can I copy one object to another object that is slightly different in Java? [closed]

Say I have two classes as such: public class Order { private String orderNumber; private String customerNumber; ... getters/setters ... } public class OrderLog { private String ...
0
votes
1answer
16 views

Copying charts Visual Studio (c++)

What is the easiest way to copy System::Windows::Forms::DataVisualization::Charting::Chart^ to the clipboard? Thanks a lot.
0
votes
2answers
30 views

How to copy image to clipboard from internet?

I am modifying the browser source code and I need to be able to copy an image to the clipboard from the internet. I can't seem to find out how to do it, and I know it's possible because I've seen it ...
0
votes
2answers
20 views

Augment and Prune a MySQL table

I need a little advice concerning a MySQL operation: There is a database A wich yields several tables. With a query I selected a set of entries out of this database to copy these results into another ...
0
votes
2answers
24 views

How to copy from a JTextArea?

How would one go about creating a JTextArea in which you can copy the text that is set? Simple, Cntl-C or right-click copy is fine. Code is for a tile game I am working on and it prints information ...
0
votes
0answers
5 views

Cannot copy from JTextArea?

I declare and implement a JTextArea as follows: static JTextArea area = new JTextArea(670, 175); area.setEditable(false); area.setFont(new Font("Serif", Font.PLAIN, 16)); scroller = new ...
0
votes
0answers
14 views

How to copy header tags of a website and then create a new post on my website?

So the idea is simple. I'd like to create or use a software that finds the header tag of a news article (i.e BBC News) and then automatically create a new post on my website with the source of where I ...
0
votes
0answers
9 views

AVL tree rotations

I really need to start to start improving my programming skills, a lot. That's why every other week, I've been trying to practice some programming exercises, before school starts back up in the fall. ...
0
votes
0answers
24 views

Selenium IDE: Copy Image Location for further use

I'd like to store the URL of a variable image I have tried using |storeText | xpath=/ but it didn't work.
0
votes
1answer
16 views

ftp_put giving error The parameter is incorrect wen trying to process

I have the below syntax where I am trying to move a file in my current local server directory onto an FTP server. $source = $csv_filename; $target = fopen("/LocExports/test.csv", "w"); $conn = ...
2
votes
2answers
37 views

fluent nhibernate copy a full entity

how can I best copy an entity instance in fluent nhibernate 3.3.1; I read an object out of the database, I got an object, now I change some values of this object. This object with little changes want ...
0
votes
0answers
9 views

AVL trees Bus error

I really need to start to start improving my programming skills, a lot. That's why every other week, I've been trying to practice some programming exercises when I'm not working my summer job before ...
0
votes
0answers
40 views

Copy users Radio Selection to another form

I have 2+ Registration forms at times on my site. They have the exact same fields so it gets crazy to have to ask the user to keep entering in their information. I have added a checkbox that allows ...
-1
votes
0answers
20 views

Windows making file a folder [migrated]

I accidentally made a backup of folder using "copy folder folder_backup" and got a file called folder_backup. It contains all the bits of the folder. And I accidentally deleted the folder. How do I ...
0
votes
2answers
43 views

Copying Rows in For Loop and Pasting to new Sheet

I am having problems copy/pasting rows based on criteria. Dim lastrow1 As Long Dim lastcolumn1 As Long Dim Distance As Long Distance = 14 Set sh = ThisWorkbook.Sheets("Sample Address Database") Set ...
0
votes
0answers
8 views

shift contents of memory

I have a structure in C. I need to shift the contents of that structure by n bytes. Now this is just a debugging output of that structure: struct ztc6_ddl_add_subnet_def{ *** ...
4
votes
8answers
71 views

How do I determine if an argument is an object or a built in? [duplicate]

How do I determine if a "variable" is builtin like string, list, dict or number and not an "object". I am trying to do a deepcopy-ish function for dicts which copies builtin types but ignores objects. ...
0
votes
1answer
9 views

How to do access windows paste functionality just like teracopy does?

I am trying to copy a set of files or say set of folder (files can be of higher size or of any type), when i try to copy then everything is stored in clipboard, i want to know how to access the ...
3
votes
6answers
53 views

How to copy a (JavaBean) object's state into another, existing object?

Image you have a class that looks as follows: class Foo { public String x; public int y; public long l; } then somewhere we have: Foo foo1 = new Foo(); foo1.x = "a"; foo1.y = 3; foo1.l = ...
1
vote
1answer
32 views

Jquery copy selected text from paragraph to input on button click (multiple inputs)

I have situation for professionals here, plus I don't have one line of jquery code writen... I have text paragraph and three input fields matched with buttons... My wish is that on selection of text ...
0
votes
1answer
35 views

2d array copy column and row and proof if the contains is equal to or not

I would like to proof whether there is a Float.POSITIVE_INFINITY in my j-th column and row. But I do not know how I can do this, by not having an exploding time complexity. This means I do not want to ...
0
votes
1answer
24 views

how to copy file to system folder in batch

i want to copy a file to system32 folder using a batch file. but when i try to do this it says "Access denied" i also can not copy anything to my C:\ drive also. i tried using xcopy and copy to do ...
0
votes
1answer
34 views

Cut Method instead of copying filesC#

Can anyone help? I got a copy method for files but how do i cut files? This is my copy code:File.Copy(FileBrowseBox.Text, Path.Combine(DestinationBox.Text, Path.ChangeExtension(FileNameBox.Text, ...
0
votes
1answer
18 views

How to copy set of files with defined delay

I need to copy some set of files in Linux from one directory to another (~100 files). And I need to copy them with defined delay: 1 second for example. If I copy them with "cp" command it happend ...
0
votes
1answer
34 views

bat file debug “back up used files”

Here is what I want to do: I want to write a "bat" file that will check all the files in a single partition to determine whether any file is revised/created today and if any, I would copy these file ...
1
vote
1answer
40 views

Random sample of files based on condition in file

I have a huge list of files (20k). Each file has a unique identifier string in the first line. This first line contains only this identifier string. The list of files has about n different identifiers ...
0
votes
0answers
11 views

Automatically copy several files in windows 8 [closed]

Before I turn off my computer, I want to have a "script/shortcut" that would copy all the documents that I worked on to a certain file. Is that possible? I would very much appreciate it if you could ...
0
votes
2answers
24 views

Copy rows col. A to col. B, butkeep current cell value in Column B. (Excel)

I am searching and trying, nothing seems to work so I hope someone is here to the rescue. Problem: In Office Excel (2010), Column A has 5 rows. Each row has a simple text value. In column B only row ...
0
votes
0answers
6 views

Postgresql: Where is data stored during COPY query?

i just started importing a 750MB csv file into a table. It seems to work, but unfortunately i dont see any progress information, and i still get 0 entries from the table. Since that file contains more ...
0
votes
1answer
26 views

SHFILEOPERATION with ShowMessage - C++ Builder

i write this code in C++ Builder to copy some folders from a network folder mounted on x: (eg x:\games\foldername) to a local path: d:\program files. I use shfileopstruct as follow. The source path ...
0
votes
0answers
28 views

2 database servers in the same region get different ip -> copy impossible

I want to copy database from server a on account 1 to server b on account 2. I create a new server on each account, both are in region "west europe". According to the msdn docs both server have to ...
0
votes
1answer
20 views

linux permission move_uploaded_file

i work on linux-fedora 18 and the function move_uploaded_file show warning: error: [Wed Jun 05 18:41:21.731524 2013] [:error] [pid 11502] [client 127.0.0.1:40340] PHP Warning: ...
-2
votes
1answer
25 views

Batch file find one line and replace with content [closed]

I have reviewed several post and so far no answer to my question. I need to look for a tag in a config file, after finding there need to put the contents of another file, copy a file content and paste ...
0
votes
1answer
33 views

VBA to copy a file from one directory to another

So I have an access file that I regularly need copied to another directory, replacing the last version. I would like to use an Excel macro to achieve this, and would also like to rename the file in ...
2
votes
1answer
29 views

GIT copy file preserving history

I have a somewhat confusing question in GIT. Lets say, I have a file dir1/A.txt committed and git preserves a history of commits Now I need (for some reasons) to copy the file into dir2/A.txt (not ...
0
votes
0answers
18 views

Copying database - not visible

With this code, I try to copy my database to //data//data// try { File sd = Environment.getExternalStorageDirectory(); File data = Environment.getDataDirectory(); ...
0
votes
0answers
7 views

Copy files from one share to another using MS-DOS or other languages

I have seen other posts on copying files but mine is a little different. I have several folders named 101 through 250. within those folders are subfolders that can contain anywhere from 0 to 150 ...
-2
votes
1answer
26 views

How to copy rows from 2 tables in MSSQL and get New ID [closed]

I have probem how to copy 2 records in different table like this: 1. I have parent table 2. I have to copy record from parent to same table 3. I have to get new ID of added record 4. I have to copy ...
0
votes
1answer
33 views

Buffers with pointers in C

I am confused about a basic C thing here. I have a buffer of 36 bytes. And I want to write 3 data bytes to that buffer, each of 12 bytes received from diiferent functions. For simple (may not be ...
0
votes
0answers
33 views

How to copy a single Project file to a separate IIS virtual directory as part of Web deploy publish web?

I have an ASP.NET Web API project that is deployed to an Application inside IIS 7 Default Web Site. As part of the deployment I need to copy a single JavaScript file called MyCustomScript.js that sits ...
1
vote
1answer
33 views

how can I add a copy of a div with jquery?

I have a div containg a few dynamically generated dropdowns. I want to clone this and add it underneath the original. The code for the original is: <div id="subjectselectiondiv" ...
0
votes
1answer
31 views

tcl file copy on linux, permissions errors

I am trying to copy a certain file from one destination on my Linux PC to another using tcl. The command I am using is {file copy -force $fileToCopy $destination} However, I do not have the correct ...
2
votes
3answers
24 views

SQL copy unique records between two equal databases in two separate databases

Here is the thing: I have 2 databases ADatabaseCX and ADatabaseRH. Databases are the same. I have some records in both datatables. What I would like to do is insert entries from ADatabaseCX to ...
0
votes
1answer
75 views

Is FileInfo.Exists/Copy faster than File? [duplicate]

As the title says is which one of the scenarios below is faster? // Using FileInfo FileInfo file = new FileInfo(@"C:\Test.txt"); if (file.Exists) ...

1 2 3 4 5 63
15 30 50 per page