Click here to Skip to main content
15,912,329 members
Home / Discussions / C#
   

C#

 
GeneralRe: what can i use to create an installer Pin
jamesmc153512-Aug-15 3:04
jamesmc153512-Aug-15 3:04 
AnswerRe: what can i use to create an installer Pin
Eddy Vluggen12-Aug-15 3:04
professionalEddy Vluggen12-Aug-15 3:04 
GeneralRe: what can i use to create an installer Pin
jamesmc153512-Aug-15 3:10
jamesmc153512-Aug-15 3:10 
GeneralRe: what can i use to create an installer Pin
Dave Kreskowiak12-Aug-15 3:14
mveDave Kreskowiak12-Aug-15 3:14 
GeneralRe: what can i use to create an installer Pin
jamesmc153512-Aug-15 3:18
jamesmc153512-Aug-15 3:18 
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 ? Pin
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 

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.