blah blah blah is here! blah blah » Close

0
votes
1 answers

how to get the file name from copy file dialog?

AK01
15

hi! I have an issue with copying and moving files using standart Windows dialogs. here is snippet: [code] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using ...

0
votes
1 answers

How to shortly copy a jagged part of an array into a 1D array?

How to shortly copy a jagged part of a double array into a 1D array? I have "double" A[][,] and I want to copy all elements in A[1][i,2] into another 1D double array B[] : i.e put this elements of A into X A[1][0,2]-->X ...

0
votes
1 answers

copy and paste with different name using c#

Hi there, How to copy an existing file "C:\Data\PP.txt" to another destination folder with a different name "C:\Databackup\PP1.txt" using C#?

0
votes
1 answers

C# - Copy Cell Content on Right Click in DataGridView

Hi, I have a simple Windows forms application with a datagridview. I want to copy cell content on right click. I had made this once but cannot do it again, I don't know what I am doing wrong this time although the code looks exactly the ...

0
votes
1 answers

Replicate it self? (Backup)

Hey, is there any way i can make a file with basicaly replicate's it self in a directory like c:/program files/folder/backup/? Because i want to make a file that can replicate it self into a backup folder. Any clues?

0
votes
1 answers

Make a copy of a List<object>

Not having much luck with this one. I just want to make a copy of a list of objects that are passed into the method. The reason is that I don't want the changes to take effect on the original until they are verified with the temporary ...

0
votes
1 answers

C# clipboard Copy/paste of png file problem

Hi everyone, I have a problem using AxSHDocVw.AxWebBrowser composent. I try to get as bitmap a dynamic image from a website (So i can't re-download them). This part of code do it fine, except for png files: seems like alpha channel disap ...

0
votes
1 answers

C#: Copy Selected Cell in DataGridView

Hi, I need to copy the selected cell as text in datagridview, I used the following code and it works just fine. [code]private void main_ListDataGridView_CellClick(object sender, DataGridViewCellEventArgs e) { Cli ...

1
votes
1 answers

Copy culumn data between 2 datagridviews

Is it possible to copy a column of data from one datagridview to a second empty datagrid? i'm trying the below code but cant get it to work? [code]adDataGridView.Rows[newIndex].Cells[0].Value = rowDataGridView.Rows[e.RowIndex].Cells[5].V ...

Feedback