Click here to Skip to main content
15,906,626 members
Home / Discussions / C#
   

C#

 
QuestionRe: StackOverflow in ListView Pin
Pathetic Logic8-Apr-08 3:04
Pathetic Logic8-Apr-08 3:04 
AnswerRe: StackOverflow in ListView Pin
Pathetic Logic8-Apr-08 4:51
Pathetic Logic8-Apr-08 4:51 
GeneralRegarding Multithreading Pin
tasumisra8-Apr-08 0:32
tasumisra8-Apr-08 0:32 
GeneralRe: Regarding Multithreading Pin
Christian Graus8-Apr-08 0:34
protectorChristian Graus8-Apr-08 0:34 
QuestionHow to start learning about creating database server. Pin
toeh7-Apr-08 23:56
toeh7-Apr-08 23:56 
AnswerRe: How to start learning about creating database server. Pin
Christian Graus8-Apr-08 0:16
protectorChristian Graus8-Apr-08 0:16 
AnswerRe: How to start learning about creating database server. Pin
Pete O'Hanlon8-Apr-08 0:58
mvePete O'Hanlon8-Apr-08 0:58 
AnswerRe: How to start learning about creating database server. Pin
darkelv8-Apr-08 1:26
darkelv8-Apr-08 1:26 
Questionexporting windows form as pdf Pin
Faysal7-Apr-08 23:43
Faysal7-Apr-08 23:43 
GeneralRe: exporting windows form as pdf Pin
Christian Graus8-Apr-08 0:17
protectorChristian Graus8-Apr-08 0:17 
GeneralRe: exporting windows form as pdf Pin
Faysal8-Apr-08 0:56
Faysal8-Apr-08 0:56 
GeneralRe: exporting windows form as pdf Pin
Christian Graus8-Apr-08 1:12
protectorChristian Graus8-Apr-08 1:12 
GeneralRe: exporting windows form as pdf Pin
Faysal8-Apr-08 23:06
Faysal8-Apr-08 23:06 
GeneralParameter Handling while generating code from the WSDL Pin
Kapil Singhal7-Apr-08 23:33
Kapil Singhal7-Apr-08 23:33 
GeneralList of open excel documents and the path of the document Pin
Member 5142527-Apr-08 23:22
Member 5142527-Apr-08 23:22 
GeneralRe: List of open excel documents and the path of the document Pin
Dave Kreskowiak8-Apr-08 5:03
mveDave Kreskowiak8-Apr-08 5:03 
Generalhelp!!!!!!!! passing class as function parameter Pin
EvilInside7-Apr-08 23:17
EvilInside7-Apr-08 23:17 
GeneralRe: help!!!!!!!! passing class as function parameter Pin
buchstaben7-Apr-08 23:21
buchstaben7-Apr-08 23:21 
GeneralRe: help!!!!!!!! passing class as function parameter Pin
Christian Graus8-Apr-08 0:18
protectorChristian Graus8-Apr-08 0:18 
QuestionHow to delete a file in locked status Pin
Exelioindia7-Apr-08 21:40
Exelioindia7-Apr-08 21:40 
AnswerRe: How to delete a file in locked status Pin
Christian Graus7-Apr-08 21:54
protectorChristian Graus7-Apr-08 21:54 
AnswerRe: How to delete a file in locked status Pin
Simon P Stevens7-Apr-08 22:35
Simon P Stevens7-Apr-08 22:35 
You can use Process Explorer from SysInternals[^]) to figure out what process is locking the file. Open it up, Click Find then "Find handle or Dll..." Enter the filename, and click search.

This will help you identify which program is holding the file open.

If it's your app holding the file open, like Christian says, you need to make sure you close any Bitmap objects, or streams you have as they hold locks on the file.

If it's not your app holding the file open, then there's not much you can do. Look at why the file is held open. Consider telling the user that you were unable to delete the file because another application has it open, and give the user a chance to close the application and then retry the delete.



GeneralRe: How to delete a file in locked status Pin
Exelioindia7-Apr-08 22:49
Exelioindia7-Apr-08 22:49 
GeneralRe: How to delete a file in locked status Pin
Simon P Stevens7-Apr-08 23:00
Simon P Stevens7-Apr-08 23:00 
GeneralRe: How to delete a file in locked status Pin
Christian Graus7-Apr-08 23:04
protectorChristian Graus7-Apr-08 23:04 

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.