Click here to Skip to main content
15,559,732 members
Home / Discussions / C#
   

C#

 
AnswerRe: Question about RegEx Class [modified] Pin
PIEBALDconsult5-Sep-10 18:34
professionalPIEBALDconsult5-Sep-10 18:34 
QuestionNot able to delete original jpeg file after it is copied with System.IO.File.Copy() Pin
Aseem Sharma5-Sep-10 3:39
Aseem Sharma5-Sep-10 3:39 
AnswerRe: Not able to delete original jpeg file after it is copied with System.IO.File.Copy() Pin
Not Active5-Sep-10 4:04
mentorNot Active5-Sep-10 4:04 
GeneralRe: Not able to delete original jpeg file after it is copied with System.IO.File.Copy() Pin
Aseem Sharma5-Sep-10 5:19
Aseem Sharma5-Sep-10 5:19 
GeneralRe: Not able to delete original jpeg file after it is copied with System.IO.File.Copy() Pin
Not Active5-Sep-10 6:12
mentorNot Active5-Sep-10 6:12 
GeneralRe: Not able to delete original jpeg file after it is copied with System.IO.File.Copy() Pin
Aseem Sharma5-Sep-10 6:35
Aseem Sharma5-Sep-10 6:35 
GeneralRe: Not able to delete original jpeg file after it is copied with System.IO.File.Copy() Pin
Not Active5-Sep-10 6:56
mentorNot Active5-Sep-10 6:56 
GeneralRe: Not able to delete original jpeg file after it is copied with System.IO.File.Copy() Pin
Aseem Sharma5-Sep-10 7:20
Aseem Sharma5-Sep-10 7: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 12:09
mveDave Kreskowiak5-Sep-10 12:09 
GeneralRe: Not able to delete original jpeg file after it is copied with System.IO.File.Copy() Pin
Aseem Sharma5-Sep-10 20:59
Aseem Sharma5-Sep-10 20:59 
AnswerRe: Not able to delete original jpeg file after it is copied with System.IO.File.Copy() Pin
Luc Pattyn5-Sep-10 7:26
sitebuilderLuc Pattyn5-Sep-10 7:26 
GeneralRe: Not able to delete original jpeg file after it is copied with System.IO.File.Copy() Pin
Aseem Sharma5-Sep-10 7:39
Aseem Sharma5-Sep-10 7:39 
GeneralRe: Not able to delete original jpeg file after it is copied with System.IO.File.Copy() Pin
Dave Kreskowiak5-Sep-10 12:11
mveDave Kreskowiak5-Sep-10 12:11 
AnswerRe: Not able to delete original jpeg file after it is copied with System.IO.File.Copy() Pin
Pete O'Hanlon5-Sep-10 8:29
mvaPete O'Hanlon5-Sep-10 8:29 
GeneralRe: Not able to delete original jpeg file after it is copied with System.IO.File.Copy() Pin
Aseem Sharma5-Sep-10 21:02
Aseem Sharma5-Sep-10 21:02 
GeneralRe: Not able to delete original jpeg file after it is copied with System.IO.File.Copy() Pin
NarVish6-Sep-10 1:04
NarVish6-Sep-10 1:04 
GeneralRe: Not able to delete original jpeg file after it is copied with System.IO.File.Copy() Pin
Pete O'Hanlon6-Sep-10 1:33
mvaPete O'Hanlon6-Sep-10 1:33 
GeneralRe: Not able to delete original jpeg file after it is copied with System.IO.File.Copy() Pin
NarVish6-Sep-10 2:39
NarVish6-Sep-10 2:39 
QuestionProblem : Need to make COM InterOp at runtime using reflections Passing Pointers as parameters? Pin
glitteringsound4-Sep-10 21:23
glitteringsound4-Sep-10 21:23 
Questioncreating an own file for my application Pin
prasadbuddhika4-Sep-10 7:50
prasadbuddhika4-Sep-10 7:50 
AnswerRe: creating an own file for my application Pin
Not Active4-Sep-10 8:34
mentorNot Active4-Sep-10 8:34 
AnswerRe: creating an own file for my application Pin
DaveyM694-Sep-10 8:54
professionalDaveyM694-Sep-10 8:54 
AnswerRe: creating an own file for my application Pin
DaveAuld4-Sep-10 8:59
professionalDaveAuld4-Sep-10 8:59 
AnswerRe: creating an own file for my application [modified] Pin
Luc Pattyn4-Sep-10 10:20
sitebuilderLuc Pattyn4-Sep-10 10:20 
AnswerRe: creating an own file for my application Pin
OriginalGriff4-Sep-10 11:25
mveOriginalGriff4-Sep-10 11: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.