Click here to Skip to main content
16,007,843 members
Home / Discussions / C#
   

C#

 
GeneralRe: Serialization of arrays Pin
Rudolf Jan5-Aug-07 10:07
Rudolf Jan5-Aug-07 10:07 
QuestionShowing form window above task bar. Pin
kaleem tarar20-Jul-07 6:48
kaleem tarar20-Jul-07 6:48 
QuestionHow to install an addin for Visual Studio .NET 2005 Pin
imagic20-Jul-07 6:35
imagic20-Jul-07 6:35 
AnswerRe: How to install an addin for Visual Studio .NET 2005 Pin
Judah Gabriel Himango20-Jul-07 7:31
sponsorJudah Gabriel Himango20-Jul-07 7:31 
GeneralRe: How to install an addin for Visual Studio .NET 2005 Pin
imagic20-Jul-07 18:53
imagic20-Jul-07 18:53 
GeneralRe: How to install an addin for Visual Studio .NET 2005 Pin
imagic20-Jul-07 22:49
imagic20-Jul-07 22:49 
QuestionReplacing pictures Pin
eskape1920-Jul-07 5:30
eskape1920-Jul-07 5:30 
AnswerRe: Replacing pictures Pin
Luc Pattyn20-Jul-07 5:56
sitebuilderLuc Pattyn20-Jul-07 5:56 
Hi,

maybe this is the problem: Image class keeps the file open when you somehow load the
image from file (I guess because that way they dont have to load all the metadata until
it is really needed).

The way to circumvent that is by using an intermediate image, like so (approx):

Bitmap image1=Image.FromFile(filename);
Bitmap image2=new Bitmap(image1);
image1.Dispose();
// now do with image2 whatever you like, file is no longer locked



Hope this helps.





QuestionUpload a file to my server Pin
Raymond_P*20-Jul-07 5:07
Raymond_P*20-Jul-07 5:07 
AnswerRe: Upload a file to my server Pin
led mike20-Jul-07 7:04
led mike20-Jul-07 7:04 
GeneralRe: Upload a file to my server Pin
Raymond_P*20-Jul-07 7:08
Raymond_P*20-Jul-07 7:08 
GeneralRe: Upload a file to my server Pin
led mike20-Jul-07 7:11
led mike20-Jul-07 7:11 
GeneralRe: Upload a file to my server Pin
Raymond_P*20-Jul-07 7:33
Raymond_P*20-Jul-07 7:33 
GeneralRe: Upload a file to my server Pin
led mike20-Jul-07 8:01
led mike20-Jul-07 8:01 
QuestionC# wrapper for Robocopy.exe Pin
Harkamal Singh20-Jul-07 4:07
Harkamal Singh20-Jul-07 4:07 
AnswerRe: C# wrapper for Robocopy.exe Pin
led mike20-Jul-07 7:03
led mike20-Jul-07 7:03 
AnswerRe: C# wrapper for Robocopy.exe Pin
Judah Gabriel Himango20-Jul-07 7:32
sponsorJudah Gabriel Himango20-Jul-07 7:32 
QuestionListBox with Only Text & Background as Form Image Pin
Sukhjinder_K20-Jul-07 3:47
Sukhjinder_K20-Jul-07 3:47 
AnswerRe: ListBox with Only Text & Background as Form Image Pin
Anand Todkar20-Jul-07 5:17
Anand Todkar20-Jul-07 5:17 
GeneralRe: ListBox with Only Text & Background as Form Image Pin
Sukhjinder_K20-Jul-07 6:59
Sukhjinder_K20-Jul-07 6:59 
QuestionRound Edge Labels or Custom Shape Pin
Sukhjinder_K20-Jul-07 3:40
Sukhjinder_K20-Jul-07 3:40 
AnswerRe: Round Edge Labels or Custom Shape Pin
Mircea Puiu20-Jul-07 3:51
Mircea Puiu20-Jul-07 3:51 
Questionresizing the controls in the panel at runtime Pin
Ashfaq Ali20-Jul-07 3:37
Ashfaq Ali20-Jul-07 3:37 
AnswerRe: resizing the controls in the panel at runtime Pin
originSH20-Jul-07 3:40
originSH20-Jul-07 3:40 
GeneralRe: resizing the controls in the panel at runtime Pin
Ashfaq Ali20-Jul-07 4:27
Ashfaq Ali20-Jul-07 4:27 

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.