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

C#

 
AnswerRe: Double " Pin
AnnnS29-May-06 4:00
AnnnS29-May-06 4:00 
GeneralRe: Double " Pin
Support12329-May-06 4:14
Support12329-May-06 4:14 
AnswerRe: Double " Pin
_Bao_29-May-06 4:02
_Bao_29-May-06 4:02 
GeneralRe: Double " Pin
Support12329-May-06 4:08
Support12329-May-06 4:08 
GeneralRe: Double " Pin
leppie29-May-06 4:21
leppie29-May-06 4:21 
GeneralRe: Double " Pin
Colin Angus Mackay29-May-06 4:42
Colin Angus Mackay29-May-06 4:42 
GeneralRe: Double " Pin
leppie29-May-06 4:57
leppie29-May-06 4:57 
QuestionHow to get rid of "File in use" problems Pin
Subterranean29-May-06 3:47
Subterranean29-May-06 3:47 
In my program, I display an image from a file using the .FromFile method in a picturebox. However, when its being displayed I cannot delete the file, either within the program itself, or windows explorer due to it being in use by the program. Is there any way to give up access to the file so it can be deleted if neccessary. Surely once the image is loaded into the picturebox it is now in memory and does not require further access to the file?

If there is no easy method to simply give up access to a file, is there a way to display the picture that will not cause this to happen? Maybe from a thread or somesuch?

Thanks for any help.
AnswerRe: How to get rid of "File in use" problems Pin
stancrm29-May-06 3:59
stancrm29-May-06 3:59 
GeneralRe: How to get rid of "File in use" problems Pin
Subterranean29-May-06 4:04
Subterranean29-May-06 4:04 
QuestionDispose() Me Pin
Robert M Greene29-May-06 3:37
Robert M Greene29-May-06 3:37 
AnswerRe: Dispose() Me Pin
lmoelleb29-May-06 4:09
lmoelleb29-May-06 4:09 
AnswerRe: Dispose() Me Pin
leppie29-May-06 4:25
leppie29-May-06 4:25 
QuestionCreatinh a Business Object using CodeSmith templates Pin
Wesley Burger29-May-06 3:30
Wesley Burger29-May-06 3:30 
QuestionMultimedia in C# Pin
Lju229-May-06 2:50
Lju229-May-06 2:50 
AnswerRe: Multimedia in C# Pin
Rei Miyasaka29-May-06 10:42
Rei Miyasaka29-May-06 10:42 
QuestionProblem with windows form [modified] Pin
JelleM29-May-06 2:41
JelleM29-May-06 2:41 
AnswerRe: Problem with windows form [modified] Pin
Robert Rohde29-May-06 3:04
Robert Rohde29-May-06 3:04 
GeneralRe: Problem with windows form [modified] Pin
JelleM29-May-06 3:22
JelleM29-May-06 3:22 
QuestionUrgent When i m going to inherit from one form from another form Pin
Shiv529-May-06 2:22
Shiv529-May-06 2:22 
QuestionI got error when inherit one form from other using CV Pin
Shiv529-May-06 2:20
Shiv529-May-06 2:20 
QuestionEvent Initialize Pin
JacquesDP29-May-06 2:06
JacquesDP29-May-06 2:06 
AnswerRe: Event Initialize Pin
stancrm29-May-06 2:39
stancrm29-May-06 2:39 
GeneralRe: Event Initialize Pin
JacquesDP29-May-06 3:00
JacquesDP29-May-06 3:00 
QuestionMemory allocation help Pin
eric_tran29-May-06 1:16
eric_tran29-May-06 1:16 

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.