Click here to Skip to main content
15,902,901 members
Home / Discussions / C#
   

C#

 
AnswerRe: data grid Pin
Nader Elshehabi29-Nov-06 22:49
Nader Elshehabi29-Nov-06 22:49 
AnswerRe: data grid Pin
ednrgc30-Nov-06 6:30
ednrgc30-Nov-06 6:30 
QuestionHow to get file path from save file dialogue box Pin
prakash_21029-Nov-06 19:27
prakash_21029-Nov-06 19:27 
AnswerRe: How to get file path from save file dialogue box Pin
Eduard Keilholz29-Nov-06 20:59
Eduard Keilholz29-Nov-06 20:59 
QuestionDirectoryInfo.GetFiles question Pin
coolestCoder29-Nov-06 18:46
coolestCoder29-Nov-06 18:46 
AnswerRe: DirectoryInfo.GetFiles question Pin
Scott Dorman29-Nov-06 18:51
professionalScott Dorman29-Nov-06 18:51 
QuestionNeed Help--Required permissions cannot be acquired. Pin
Jay Khanpara29-Nov-06 18:38
Jay Khanpara29-Nov-06 18:38 
QuestionChecking File in use before copy Pin
coolestCoder29-Nov-06 18:34
coolestCoder29-Nov-06 18:34 
Hi All,
I am developing some application where in I copy a file if it is not in use. I want to check first whether it is being used or written to by any other process. If it is not being used i will copy it to some folder. Note that this file can be on a Network share. I want some functionality like Handle[^]

This is urgent and any help will be appreciated.

Note that I dont want to implement methods where I will open the file in Write mode and then catch exception to know that the file is in use. This is not the proper method.
There should be some method which windows uses to find whether an exclusive lock exists on a file.




"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder

coolestCoder

AnswerRe: Checking File in use before copy Pin
Martin#29-Nov-06 20:52
Martin#29-Nov-06 20:52 
QuestionLocal Variable and "global" with same name Pin
Dwayner7929-Nov-06 16:54
Dwayner7929-Nov-06 16:54 
AnswerRe: Local Variable and "global" with same name Pin
Scott Dorman29-Nov-06 17:00
professionalScott Dorman29-Nov-06 17:00 
GeneralRe: Local Variable and "global" with same name Pin
Dwayner7929-Nov-06 18:19
Dwayner7929-Nov-06 18:19 
GeneralRe: Local Variable and "global" with same name Pin
Scott Dorman29-Nov-06 18:32
professionalScott Dorman29-Nov-06 18:32 
AnswerRe: Local Variable and "global" with same name Pin
Guffa29-Nov-06 22:02
Guffa29-Nov-06 22:02 
AnswerRe: Local Variable and "global" with same name Pin
ednrgc30-Nov-06 6:31
ednrgc30-Nov-06 6:31 
Questioninsert "-" in between words in a sentence Pin
Vipin Venugopal29-Nov-06 16:50
Vipin Venugopal29-Nov-06 16:50 
AnswerRe: insert "-" in between words in a sentence Pin
mav.northwind29-Nov-06 18:48
mav.northwind29-Nov-06 18:48 
QuestionProperty Binding Question Pin
rflach529-Nov-06 14:33
rflach529-Nov-06 14:33 
QuestionModal dialog issues... Pin
Super Lloyd29-Nov-06 14:32
Super Lloyd29-Nov-06 14:32 
AnswerRe: Modal dialog issues... Pin
Christian Graus29-Nov-06 15:14
protectorChristian Graus29-Nov-06 15:14 
GeneralRe: Modal dialog issues... Pin
Super Lloyd29-Nov-06 16:48
Super Lloyd29-Nov-06 16:48 
AnswerRe: Modal dialog issues... Pin
V.29-Nov-06 21:23
professionalV.29-Nov-06 21:23 
Question<generic> return type? Pin
michal.kreslik29-Nov-06 14:14
michal.kreslik29-Nov-06 14:14 
AnswerRe: <generic> return type? Pin
Not Active29-Nov-06 14:20
mentorNot Active29-Nov-06 14:20 
GeneralRe: <generic> return type? Pin
michal.kreslik29-Nov-06 23:33
michal.kreslik29-Nov-06 23:33 

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.