Click here to Skip to main content
15,895,283 members
Home / Discussions / C#
   

C#

 
AnswerRe: Question about RegEx Class [modified] Pin
PIEBALDconsult5-Sep-10 17:34
mvePIEBALDconsult5-Sep-10 17:34 
QuestionNot able to delete original jpeg file after it is copied with System.IO.File.Copy() Pin
Aseem Sharma5-Sep-10 2:39
Aseem Sharma5-Sep-10 2:39 
AnswerRe: Not able to delete original jpeg file after it is copied with System.IO.File.Copy() Pin
Not Active5-Sep-10 3:04
mentorNot Active5-Sep-10 3:04 
GeneralRe: Not able to delete original jpeg file after it is copied with System.IO.File.Copy() Pin
Aseem Sharma5-Sep-10 4:19
Aseem Sharma5-Sep-10 4:19 
GeneralRe: Not able to delete original jpeg file after it is copied with System.IO.File.Copy() Pin
Not Active5-Sep-10 5:12
mentorNot Active5-Sep-10 5:12 
GeneralRe: Not able to delete original jpeg file after it is copied with System.IO.File.Copy() Pin
Aseem Sharma5-Sep-10 5:35
Aseem Sharma5-Sep-10 5:35 
GeneralRe: Not able to delete original jpeg file after it is copied with System.IO.File.Copy() Pin
Not Active5-Sep-10 5:56
mentorNot Active5-Sep-10 5:56 
GeneralRe: Not able to delete original jpeg file after it is copied with System.IO.File.Copy() Pin
Aseem Sharma5-Sep-10 6:20
Aseem Sharma5-Sep-10 6:20 
One more requirement of my application is that I do not want to let the user know where the original file is present. User can just click a thumbnail from my application to open it. My application then makes a copy of original file in temp folder and open that temp copy of file.

And whatever the user case is, I think I am doing something wrong in my code that deleting original file generates exception and crashing my application. Just opening (and not even editing) the temp file should have no impact on the deletion of original file.
GeneralRe: Not able to delete original jpeg file after it is copied with System.IO.File.Copy() Pin
Dave Kreskowiak5-Sep-10 11:09
mveDave Kreskowiak5-Sep-10 11:09 
GeneralRe: Not able to delete original jpeg file after it is copied with System.IO.File.Copy() Pin
Aseem Sharma5-Sep-10 19:59
Aseem Sharma5-Sep-10 19:59 
AnswerRe: Not able to delete original jpeg file after it is copied with System.IO.File.Copy() Pin
Luc Pattyn5-Sep-10 6:26
sitebuilderLuc Pattyn5-Sep-10 6:26 
GeneralRe: Not able to delete original jpeg file after it is copied with System.IO.File.Copy() Pin
Aseem Sharma5-Sep-10 6:39
Aseem Sharma5-Sep-10 6:39 
GeneralRe: Not able to delete original jpeg file after it is copied with System.IO.File.Copy() Pin
Dave Kreskowiak5-Sep-10 11:11
mveDave Kreskowiak5-Sep-10 11:11 
AnswerRe: Not able to delete original jpeg file after it is copied with System.IO.File.Copy() Pin
Pete O'Hanlon5-Sep-10 7:29
mvePete O'Hanlon5-Sep-10 7:29 
GeneralRe: Not able to delete original jpeg file after it is copied with System.IO.File.Copy() Pin
Aseem Sharma5-Sep-10 20:02
Aseem Sharma5-Sep-10 20:02 
GeneralRe: Not able to delete original jpeg file after it is copied with System.IO.File.Copy() Pin
NarVish6-Sep-10 0:04
NarVish6-Sep-10 0:04 
GeneralRe: Not able to delete original jpeg file after it is copied with System.IO.File.Copy() Pin
Pete O'Hanlon6-Sep-10 0:33
mvePete O'Hanlon6-Sep-10 0:33 
GeneralRe: Not able to delete original jpeg file after it is copied with System.IO.File.Copy() Pin
NarVish6-Sep-10 1:39
NarVish6-Sep-10 1:39 
QuestionProblem : Need to make COM InterOp at runtime using reflections Passing Pointers as parameters? Pin
glitteringsound4-Sep-10 20:23
glitteringsound4-Sep-10 20:23 
Questioncreating an own file for my application Pin
prasadbuddhika4-Sep-10 6:50
prasadbuddhika4-Sep-10 6:50 
AnswerRe: creating an own file for my application Pin
Not Active4-Sep-10 7:34
mentorNot Active4-Sep-10 7:34 
AnswerRe: creating an own file for my application Pin
DaveyM694-Sep-10 7:54
professionalDaveyM694-Sep-10 7:54 
AnswerRe: creating an own file for my application Pin
DaveAuld4-Sep-10 7:59
professionalDaveAuld4-Sep-10 7:59 
AnswerRe: creating an own file for my application [modified] Pin
Luc Pattyn4-Sep-10 9:20
sitebuilderLuc Pattyn4-Sep-10 9:20 
AnswerRe: creating an own file for my application Pin
OriginalGriff4-Sep-10 10:25
mveOriginalGriff4-Sep-10 10:25 

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.