Click here to Skip to main content
15,885,767 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: How Many versions of the CLR can be installed on a computer ??? Pin
Dave Kreskowiak20-May-16 2:22
mveDave Kreskowiak20-May-16 2:22 
GeneralRe: How Many versions of the CLR can be installed on a computer ??? Pin
Derek Tortonian20-May-16 8:58
Derek Tortonian20-May-16 8:58 
QuestionConnecting to SQL database Pin
Member 1228398616-May-16 1:53
Member 1228398616-May-16 1:53 
AnswerRe: Connecting to SQL database Pin
Dave Kreskowiak16-May-16 2:47
mveDave Kreskowiak16-May-16 2:47 
GeneralRe: Connecting to SQL database Pin
Member 1228398616-May-16 2:57
Member 1228398616-May-16 2:57 
QuestionExporting excel chart to PNG - a generic error occurred in GDI+ - VB.NET Pin
WesselVB16-May-16 0:37
WesselVB16-May-16 0:37 
AnswerRe: Exporting excel chart to PNG - a generic error occurred in GDI+ - VB.NET Pin
Simon_Whale16-May-16 0:52
Simon_Whale16-May-16 0:52 
AnswerRe: Exporting excel chart to PNG - a generic error occurred in GDI+ - VB.NET Pin
Richard Deeming16-May-16 1:04
mveRichard Deeming16-May-16 1:04 
This is a known problem with the Image.FromFile method:

This occurs when you set the Image property of a PictureBox control to a file manually at design time, or when you use the FromFile method at run time.

The workaround is to use the Image.FromStream method instead:
VB.NET
Using fs As Stream = System.IO.File.OpenRead("img-0.png")
    PictureBox2.Image = Image.FromStream(fs)
End Using




"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


Questionsystem overflow exception on an arithmetic operation Pin
Member 1063639915-May-16 0:11
Member 1063639915-May-16 0:11 
AnswerRe: system overflow exception on an arithmetic operation Pin
Dave Kreskowiak15-May-16 3:09
mveDave Kreskowiak15-May-16 3:09 
QuestionCOM Interop Pin
JackMisani9-May-16 7:16
JackMisani9-May-16 7:16 
AnswerRe: COM Interop Pin
Nathan Minier10-May-16 1:20
professionalNathan Minier10-May-16 1:20 
GeneralRe: COM Interop Pin
JackMisani10-May-16 2:28
JackMisani10-May-16 2:28 
GeneralRe: COM Interop Pin
Dave Kreskowiak10-May-16 5:02
mveDave Kreskowiak10-May-16 5:02 
SuggestionRe: COM Interop Pin
Richard Deeming10-May-16 8:02
mveRichard Deeming10-May-16 8:02 
GeneralRe: COM Interop Pin
Nathan Minier11-May-16 1:19
professionalNathan Minier11-May-16 1:19 
QuestionSmtpClient not working in Windows Server 2012 R2 Pin
drentsch9-May-16 5:09
drentsch9-May-16 5:09 
AnswerRe: SmtpClient not working in Windows Server 2012 R2 Pin
Nathan Minier10-May-16 1:22
professionalNathan Minier10-May-16 1:22 
GeneralRe: SmtpClient not working in Windows Server 2012 R2 Pin
drentsch10-May-16 1:43
drentsch10-May-16 1:43 
Questioncode working on one pc on on another not... Pin
Member 124732905-May-16 22:18
Member 124732905-May-16 22:18 
GeneralRe: code working on one pc on on another not... Pin
Richard MacCutchan5-May-16 23:12
mveRichard MacCutchan5-May-16 23:12 
GeneralRe: code working on one pc on on another not... Pin
Member 124732906-May-16 0:55
Member 124732906-May-16 0:55 
GeneralRe: code working on one pc on on another not... Pin
Richard MacCutchan6-May-16 2:52
mveRichard MacCutchan6-May-16 2:52 
GeneralRe: code working on one pc on on another not... Pin
Member 124732907-May-16 8:07
Member 124732907-May-16 8:07 
GeneralRe: code working on one pc on on another not... Pin
Richard MacCutchan7-May-16 20:40
mveRichard MacCutchan7-May-16 20:40 

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.