Click here to Skip to main content
15,867,686 members
Home / Discussions / C#
   

C#

 
GeneralRe: what can i use to create an installer Pin
Dave Kreskowiak12-Aug-15 4:17
mveDave Kreskowiak12-Aug-15 4:17 
GeneralRe: what can i use to create an installer Pin
Eddy Vluggen12-Aug-15 3:20
professionalEddy Vluggen12-Aug-15 3:20 
GeneralRe: what can i use to create an installer Pin
jamesmc153512-Aug-15 3:25
jamesmc153512-Aug-15 3:25 
GeneralRe: what can i use to create an installer Pin
Eddy Vluggen12-Aug-15 3:27
professionalEddy Vluggen12-Aug-15 3:27 
QuestionDisplay the Image in Form2 Pin
Member 1190306211-Aug-15 22:22
Member 1190306211-Aug-15 22:22 
AnswerRe: Display the Image in Form2 Pin
OriginalGriff12-Aug-15 0:09
mveOriginalGriff12-Aug-15 0:09 
GeneralRe: Display the Image in Form2 Pin
Delta Technologies12-Aug-15 3:08
Delta Technologies12-Aug-15 3:08 
GeneralRe: Display the Image in Form2 Pin
Dave Kreskowiak12-Aug-15 4:26
mveDave Kreskowiak12-Aug-15 4:26 
Watch who you're replying to. Griff already knows how to do this.

Oh, and your solution locks the image file for the lifetime of the Image object you get back from the call to Image.FromFile.

It's better you use a file stream to load the data into a Bitmap and dispose the stream, avoiding the lock on the image file.
A guide to posting questions on CodeProject

Click this: Asking questions is a skill.
Seriously, do it.

Dave Kreskowiak

AnswerRe: Display the Image in Form2 Pin
DamithSL12-Aug-15 0:12
professionalDamithSL12-Aug-15 0:12 
QuestionError : C# foreach statement cannot operate on variable of type ? Pin
Sphinxniuie11-Aug-15 18:42
Sphinxniuie11-Aug-15 18:42 
AnswerRe: Error : C# foreach statement cannot operate on variable of type ? Pin
Wendelius11-Aug-15 18:57
mentorWendelius11-Aug-15 18:57 
GeneralRe: Error : C# foreach statement cannot operate on variable of type ? Pin
Sphinxniuie11-Aug-15 19:01
Sphinxniuie11-Aug-15 19:01 
GeneralRe: Error : C# foreach statement cannot operate on variable of type ? Pin
Wendelius11-Aug-15 19:18
mentorWendelius11-Aug-15 19:18 
GeneralRe: Error : C# foreach statement cannot operate on variable of type ? Pin
Sphinxniuie11-Aug-15 19:21
Sphinxniuie11-Aug-15 19:21 
GeneralRe: Error : C# foreach statement cannot operate on variable of type ? Pin
Sphinxniuie11-Aug-15 19:26
Sphinxniuie11-Aug-15 19:26 
GeneralRe: Error : C# foreach statement cannot operate on variable of type ? PinPopular
Wendelius11-Aug-15 19:31
mentorWendelius11-Aug-15 19:31 
GeneralRe: Error : C# foreach statement cannot operate on variable of type ? Pin
Sphinxniuie11-Aug-15 19:42
Sphinxniuie11-Aug-15 19:42 
GeneralRe: Error : C# foreach statement cannot operate on variable of type ? Pin
Wendelius11-Aug-15 20:11
mentorWendelius11-Aug-15 20:11 
GeneralRe: Error : C# foreach statement cannot operate on variable of type ? Pin
Sphinxniuie11-Aug-15 20:16
Sphinxniuie11-Aug-15 20:16 
GeneralRe: Error : C# foreach statement cannot operate on variable of type ? Pin
Sphinxniuie11-Aug-15 19:07
Sphinxniuie11-Aug-15 19:07 
Questionhow to work with WIX Pin
jamesmc153510-Aug-15 23:33
jamesmc153510-Aug-15 23:33 
AnswerRe: how to work with WIX Pin
Richard Andrew x6411-Aug-15 9:16
professionalRichard Andrew x6411-Aug-15 9:16 
GeneralRe: how to work with WIX Pin
jamesmc153511-Aug-15 20:51
jamesmc153511-Aug-15 20:51 
QuestionThreading Problem Calling DB Query Pin
Kevin Marois10-Aug-15 12:18
professionalKevin Marois10-Aug-15 12:18 
QuestionRe: Threading Problem Calling DB Query Pin
Richard MacCutchan10-Aug-15 21:54
mveRichard MacCutchan10-Aug-15 21:54 

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.