Click here to Skip to main content
15,884,975 members
Home / Discussions / C#
   

C#

 
QuestionHow can I download a picture in powershell and display it in C#? Pin
turbosupramk319-May-16 10:34
turbosupramk319-May-16 10:34 
AnswerRe: How can I download a picture in powershell and display it in C#? Pin
Richard MacCutchan19-May-16 21:22
mveRichard MacCutchan19-May-16 21:22 
GeneralRe: How can I download a picture in powershell and display it in C#? Pin
turbosupramk324-May-16 9:11
turbosupramk324-May-16 9:11 
QuestionRe: How can I download a picture in powershell and display it in C#? Pin
Richard MacCutchan24-May-16 9:23
mveRichard MacCutchan24-May-16 9:23 
AnswerRe: How can I download a picture in powershell and display it in C#? Pin
turbosupramk324-May-16 10:46
turbosupramk324-May-16 10:46 
GeneralRe: How can I download a picture in powershell and display it in C#? Pin
turbosupramk324-May-16 12:04
turbosupramk324-May-16 12:04 
QuestionIDisposable with COM Pin
hpjchobbes19-May-16 5:13
hpjchobbes19-May-16 5:13 
AnswerRe: IDisposable with COM Pin
Gerry Schmitz19-May-16 5:35
mveGerry Schmitz19-May-16 5:35 
I doesn't "seem" like you are sure if Dispose() is getting called so you should add a "log entry" in Dispose() to be sure.

Your "session" instance looks private.

You could try (pardon the pun), a higher level "try ... finally", where the finally always runs and checks your object for null, disposes it, etc.

Then there are application level exception handlers and "exits" ... you need to log to understand which paths your particular app can end on.

AnswerRe: IDisposable with COM Pin
Dave Kreskowiak19-May-16 5:36
mveDave Kreskowiak19-May-16 5:36 
GeneralRe: IDisposable with COM Pin
OriginalGriff19-May-16 6:16
mveOriginalGriff19-May-16 6:16 
GeneralRe: IDisposable with COM Pin
hpjchobbes19-May-16 7:19
hpjchobbes19-May-16 7:19 
GeneralRe: IDisposable with COM Pin
Dave Kreskowiak19-May-16 7:23
mveDave Kreskowiak19-May-16 7:23 
QuestionEnumResourceLanguages return false for resource type identified by Name Pin
noelblanc18-May-16 10:14
noelblanc18-May-16 10:14 
AnswerRe: EnumResourceLanguages return false for resource type identified by Name Pin
noelblanc18-May-16 22:15
noelblanc18-May-16 22:15 
QuestionDraw 2 lines in a picture box and automatically measure the angle between the line Pin
Shithun NK18-May-16 6:23
Shithun NK18-May-16 6:23 
AnswerRe: Draw 2 lines in a picture box and automatically measure the angle between the line Pin
Pete O'Hanlon18-May-16 6:47
mvePete O'Hanlon18-May-16 6:47 
AnswerRe: Draw 2 lines in a picture box and automatically measure the angle between the line Pin
Matt T Heffron18-May-16 6:54
professionalMatt T Heffron18-May-16 6:54 
AnswerRe: Draw 2 lines in a picture box and automatically measure the angle between the line Pin
OriginalGriff18-May-16 8:10
mveOriginalGriff18-May-16 8:10 
Questionread blob from database Pin
teddddddddddd18-May-16 3:27
teddddddddddd18-May-16 3:27 
AnswerRe: read blob from database Pin
koolprasad200318-May-16 20:44
professionalkoolprasad200318-May-16 20:44 
AnswerRe: read blob from database Pin
Eddy Vluggen18-May-16 23:11
professionalEddy Vluggen18-May-16 23:11 
AnswerRe: read blob from database Pin
Member 120300006-Jul-16 14:58
Member 120300006-Jul-16 14:58 
QuestionProblems Related to E commerce APIs Pin
anokeha_prani17-May-16 20:51
anokeha_prani17-May-16 20:51 
AnswerRe: Problems Related to E commerce APIs Pin
Dave Kreskowiak18-May-16 2:17
mveDave Kreskowiak18-May-16 2:17 
QuestionDynamically Insert A Property Into A LINQ Query Statement Pin
MadDashCoder17-May-16 9:56
MadDashCoder17-May-16 9:56 

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.