Click here to Skip to main content
15,922,407 members
Home / Discussions / C#
   

C#

 
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 
Exelioindia wrote:
It seems that the file is locked, but it's strict I have to delete the file even though it's being used by another process.


Then you are totally screwed.

Instead of asking how to do the impossible, perhaps you need to work out what's locking the file, and fix it ? Opening the file as a Bitmap or Image in your code, can leave it locked until you call Dispose on that Bitmap or Image. If you need to delete the file and keep the image in memory, make a copy and Dispose of the original.

Christian Graus

Please read this if you don't understand the answer I've given you

"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

AnswerRe: How to delete a file in locked status Pin
Simon P Stevens7-Apr-08 22:35
Simon P Stevens7-Apr-08 22:35 
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 
AnswerRe: How to delete a file in locked status Pin
Giorgi Dalakishvili7-Apr-08 23:01
mentorGiorgi Dalakishvili7-Apr-08 23:01 
GeneralRe: How to delete a file in locked status Pin
Simon P Stevens7-Apr-08 23:11
Simon P Stevens7-Apr-08 23:11 
GeneralRe: How to delete a file in locked status Pin
Giorgi Dalakishvili7-Apr-08 23:17
mentorGiorgi Dalakishvili7-Apr-08 23:17 
GeneralRe: How to delete a file in locked status Pin
Simon P Stevens7-Apr-08 23:25
Simon P Stevens7-Apr-08 23:25 
GeneralRe: How to delete a file in locked status [modified] Pin
Giorgi Dalakishvili7-Apr-08 23:29
mentorGiorgi Dalakishvili7-Apr-08 23:29 
QuestionRetrive item from datagridview in C# window application Pin
dev_tikili7-Apr-08 21:20
dev_tikili7-Apr-08 21:20 
GeneralRe: Retrive item from datagridview in C# window application Pin
dan!sh 7-Apr-08 22:13
professional dan!sh 7-Apr-08 22:13 
GeneralRe: Retrive item from datagridview in C# window application Pin
Sandilian7-Apr-08 22:57
Sandilian7-Apr-08 22:57 
Questionusing WinZip32 in C# Pin
nilam24777-Apr-08 20:48
nilam24777-Apr-08 20:48 
GeneralRe: using WinZip32 in C# Pin
Christian Graus7-Apr-08 21:16
protectorChristian Graus7-Apr-08 21:16 
QuestionRe: using WinZip32 in C# Pin
nilam24777-Apr-08 21:49
nilam24777-Apr-08 21:49 
GeneralRe: using WinZip32 in C# Pin
nilam24777-Apr-08 22:04
nilam24777-Apr-08 22:04 
GeneralRe: using WinZip32 in C# Pin
Christian Graus7-Apr-08 22:05
protectorChristian Graus7-Apr-08 22: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.