Click here to Skip to main content
15,890,438 members
Home / Discussions / C#
   

C#

 
QuestionCombo box and String Collection editor [modified] Pin
sjwiht5-Mar-10 1:33
sjwiht5-Mar-10 1:33 
AnswerRe: Combo box and String Collection editor Pin
OriginalGriff5-Mar-10 1:48
mveOriginalGriff5-Mar-10 1:48 
QuestionMy user control problem as TNotebook control in Delphi Pin
Fired.Fish.Gmail5-Mar-10 1:17
Fired.Fish.Gmail5-Mar-10 1:17 
AnswerMessage Closed Pin
5-Mar-10 1:31
stancrm5-Mar-10 1:31 
GeneralRe: My user control problem as TNotebook control in Delphi Pin
Fired.Fish.Gmail5-Mar-10 1:34
Fired.Fish.Gmail5-Mar-10 1:34 
GeneralRe: My user control problem as TNotebook control in Delphi Pin
Dave Kreskowiak5-Mar-10 2:25
mveDave Kreskowiak5-Mar-10 2:25 
QuestionGet the process-name that locked the file Pin
Björn T.J.M. Spruit5-Mar-10 0:43
Björn T.J.M. Spruit5-Mar-10 0:43 
AnswerRe: Get the process-name that locked the file Pin
Rajesh R Subramanian5-Mar-10 2:05
professionalRajesh R Subramanian5-Mar-10 2:05 
Some niche stuff is written here: Listing Used Files[^]

And yes, you may have to use some of those esoteric API calls with p/invoke.

The idea would be to enumerate all the processes first, and then enumerate resources locked by each process individually, while looking for a match.

Hope that helps. Let me know if you have troubles. Smile | :)

“Follow your bliss.” – Joseph Campbell

GeneralRe: Get the process-name that locked the file Pin
Björn T.J.M. Spruit5-Mar-10 2:45
Björn T.J.M. Spruit5-Mar-10 2:45 
AnswerRe: Get the process-name that locked the file Pin
Rob Philpott5-Mar-10 2:08
Rob Philpott5-Mar-10 2:08 
GeneralNo pun intended Pin
Ennis Ray Lynch, Jr.5-Mar-10 5:31
Ennis Ray Lynch, Jr.5-Mar-10 5:31 
GeneralRe: No pun intended Pin
Rob Philpott5-Mar-10 5:46
Rob Philpott5-Mar-10 5:46 
AnswerRe: Get the process-name that locked the file Pin
Dave Kreskowiak5-Mar-10 2:22
mveDave Kreskowiak5-Mar-10 2:22 
RantRe: Get the process-name that locked the file Pin
Björn T.J.M. Spruit5-Mar-10 2:39
Björn T.J.M. Spruit5-Mar-10 2:39 
GeneralRe: Get the process-name that locked the file Pin
harold aptroot5-Mar-10 2:44
harold aptroot5-Mar-10 2:44 
GeneralRe: Get the process-name that locked the file Pin
Björn T.J.M. Spruit5-Mar-10 2:48
Björn T.J.M. Spruit5-Mar-10 2:48 
GeneralRe: Get the process-name that locked the file Pin
Dave Kreskowiak5-Mar-10 3:29
mveDave Kreskowiak5-Mar-10 3:29 
QuestionRe: Get the process-name that locked the file Pin
Björn T.J.M. Spruit5-Mar-10 4:12
Björn T.J.M. Spruit5-Mar-10 4:12 
GeneralRe: Get the process-name that locked the file Pin
J4amieC5-Mar-10 4:16
J4amieC5-Mar-10 4:16 
GeneralRe: Get the process-name that locked the file Pin
Björn T.J.M. Spruit5-Mar-10 5:09
Björn T.J.M. Spruit5-Mar-10 5:09 
GeneralRe: Get the process-name that locked the file Pin
Dave Kreskowiak5-Mar-10 7:49
mveDave Kreskowiak5-Mar-10 7:49 
GeneralDon't you just hate it Pin
Ennis Ray Lynch, Jr.5-Mar-10 5:34
Ennis Ray Lynch, Jr.5-Mar-10 5:34 
GeneralRe: Don't you just hate it Pin
J4amieC5-Mar-10 6:03
J4amieC5-Mar-10 6:03 
GeneralThe difference Pin
Ennis Ray Lynch, Jr.5-Mar-10 6:17
Ennis Ray Lynch, Jr.5-Mar-10 6:17 
GeneralRe: The difference Pin
Björn T.J.M. Spruit5-Mar-10 10:35
Björn T.J.M. Spruit5-Mar-10 10:35 

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.