Click here to Skip to main content
15,913,115 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: V2.0 vs V3.0 Pin
Ray Cassick20-May-07 11:15
Ray Cassick20-May-07 11:15 
GeneralRe: V2.0 vs V3.0 Pin
Christian Graus20-May-07 12:59
protectorChristian Graus20-May-07 12:59 
QuestionAdo.net with WPF (.Net Framework 3.0) xaml browser application Pin
Nada Adel19-May-07 7:23
Nada Adel19-May-07 7:23 
AnswerRe: Ado.net with WPF (.Net Framework 3.0) xaml browser application Pin
Paul Conrad14-Jul-07 6:52
professionalPaul Conrad14-Jul-07 6:52 
QuestionDetecting if a folder is being copied to... Pin
Christoff91517-May-07 11:17
Christoff91517-May-07 11:17 
AnswerRe: Detecting if a folder is being copied to... Pin
Dave Kreskowiak17-May-07 11:33
mveDave Kreskowiak17-May-07 11:33 
GeneralRe: Detecting if a folder is being copied to... Pin
Christoff91517-May-07 13:48
Christoff91517-May-07 13:48 
AnswerRe: Detecting if a folder is being copied to... Pin
kubben18-May-07 5:58
kubben18-May-07 5:58 
Since the application is trying to write the file to a folder. You can check to see if you can get exclusive access to the file. If you can then that file must be done. Now like it has been said before the process might have failed etc, but if you can get exclusive rights to the file, then nobody else can touch the file. If you in control of the other app, you would want to do the same thing. Look at the FileInfo class
FileInfo fi = new FileInfo("temp.txt");

FileStream fs = fi.Open( FileMode.Open, FileAccess.ReadWrite, FileShare.None );

fs.Close();

Hope that helps.
Ben


GeneralRe: Detecting if a folder is being copied to... Pin
Dave Kreskowiak18-May-07 9:58
mveDave Kreskowiak18-May-07 9:58 
GeneralRe: Detecting if a folder is being copied to... Pin
kubben18-May-07 11:50
kubben18-May-07 11:50 
GeneralRe: Detecting if a folder is being copied to... Pin
Christoff91518-May-07 12:16
Christoff91518-May-07 12:16 
GeneralRe: Detecting if a folder is being copied to... Pin
Dave Kreskowiak18-May-07 12:54
mveDave Kreskowiak18-May-07 12:54 
AnswerRe: Detecting if a folder is being copied to... Pin
Vasudevan Deepak Kumar23-May-07 4:32
Vasudevan Deepak Kumar23-May-07 4:32 
QuestionDoubt on Serialization Pin
meeram39517-May-07 3:18
meeram39517-May-07 3:18 
AnswerRe: Doubt on Serialization Pin
kubben17-May-07 6:14
kubben17-May-07 6:14 
AnswerRe: Doubt on Serialization Pin
Not Active17-May-07 8:00
mentorNot Active17-May-07 8:00 
AnswerRe: Doubt on Serialization Pin
Scott Dorman19-May-07 5:24
professionalScott Dorman19-May-07 5:24 
AnswerRe: Doubt on Serialization Pin
GgAben22-May-07 0:24
GgAben22-May-07 0:24 
Question.NET Enterprise Library Pin
Bommannan.Ramalingam16-May-07 22:50
Bommannan.Ramalingam16-May-07 22:50 
AnswerRe: .NET Enterprise Library Pin
Not Active17-May-07 8:07
mentorNot Active17-May-07 8:07 
QuestionPrinters in WPF Pin
jjholt16-May-07 14:32
jjholt16-May-07 14:32 
AnswerRe: Printers in WPF Pin
Paul Conrad14-Jul-07 6:51
professionalPaul Conrad14-Jul-07 6:51 
GeneralRe: Printers in WPF Pin
jjholt16-Jul-07 16:37
jjholt16-Jul-07 16:37 
QuestionA few questions regarding issues I'm having with a project Pin
Christoff91516-May-07 12:45
Christoff91516-May-07 12:45 
AnswerRe: A few questions regarding issues I'm having with a project Pin
Christian Graus16-May-07 13:05
protectorChristian Graus16-May-07 13:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.