Click here to Skip to main content
15,887,485 members
Home / Discussions / C#
   

C#

 
AnswerRe: Why do libraries not help me? If I want to write parameter like myapp.exe -param1 <value> -param2 <value> .. Pin
Richard Andrew x644-Aug-17 14:56
professionalRichard Andrew x644-Aug-17 14:56 
GeneralRe: Why do libraries not help me? If I want to write parameter like myapp.exe -param1 <value> -param2 <value> .. Pin
Jens Eckervogt 4-Aug-17 23:22
Jens Eckervogt 4-Aug-17 23:22 
GeneralRe: Why do libraries not help me? If I want to write parameter like myapp.exe -param1 <value> -param2 <value> .. Pin
PIEBALDconsult4-Aug-17 15:44
mvePIEBALDconsult4-Aug-17 15:44 
GeneralRe: Why do libraries not help me? If I want to write parameter like myapp.exe -param1 <value> -param2 <value> .. Pin
Jens Eckervogt 4-Aug-17 22:44
Jens Eckervogt 4-Aug-17 22:44 
AnswerRe: Why do libraries not help me? If I want to write parameter like myapp.exe -param1 <value> -param2 <value> .. Pin
Richard MacCutchan5-Aug-17 0:10
mveRichard MacCutchan5-Aug-17 0:10 
QuestionC# and the media player Pin
Humberto Mariles3-Aug-17 4:28
Humberto Mariles3-Aug-17 4:28 
AnswerRe: C# and the media player Pin
Pete O'Hanlon3-Aug-17 4:40
mvePete O'Hanlon3-Aug-17 4:40 
AnswerRe: C# and the media player Pin
Luc Pattyn5-Aug-17 10:59
sitebuilderLuc Pattyn5-Aug-17 10:59 
Hi,

As soon as you rely on external components (i.c. WMP) several things could go wrong: WMP may not be installed, or it may be disabled (maybe this[^] could help), or you are trying to use a WMP browser plug-in that isn't installed (possibly by using the WebBrowser Control).

As such possibilities exist, your code should be such that it gracefully degrades, so the least you should do is catch exceptions and report to the user in functional terms; what I tend to always do is include a log facility that reports to the programmer in technical terms. Furthermore, if you were to use some operation that may never terminate, you should figure out a way to give it a timeout anyway.

FWIW: if you access Controls on a thread that didn't create them, all kind of weird things may happen, and not necessarily in a reproducible way.

Hope this helps,

Smile | :)
Luc Pattyn [My Articles] Nil Volentibus Arduum

AnswerRe: C# and the media player Pin
BenScharbach12-Aug-17 9:28
BenScharbach12-Aug-17 9:28 
GeneralRe: C# and the media player Pin
Humberto Mariles22-Aug-17 8:26
Humberto Mariles22-Aug-17 8:26 
QuestionTool or style help to manage coding Pin
Kanel Roath2-Aug-17 18:17
Kanel Roath2-Aug-17 18:17 
AnswerRe: Tool or style help to manage coding Pin
BillWoodruff2-Aug-17 18:34
professionalBillWoodruff2-Aug-17 18:34 
GeneralRe: Tool or style help to manage coding Pin
Kanel Roath2-Aug-17 18:47
Kanel Roath2-Aug-17 18:47 
GeneralRe: Tool or style help to manage coding Pin
Richard MacCutchan2-Aug-17 20:43
mveRichard MacCutchan2-Aug-17 20:43 
GeneralRe: Tool or style help to manage coding Pin
Kanel Roath2-Aug-17 21:26
Kanel Roath2-Aug-17 21:26 
AnswerRe: Tool or style help to manage coding Pin
Mycroft Holmes2-Aug-17 22:00
professionalMycroft Holmes2-Aug-17 22:00 
AnswerRe: Tool or style help to manage coding Pin
Gerry Schmitz4-Aug-17 11:21
mveGerry Schmitz4-Aug-17 11:21 
SuggestionRe: Tool or style help to manage coding Pin
BenScharbach12-Aug-17 10:26
BenScharbach12-Aug-17 10:26 
QuestionResolution Changes Due To Linq Statement Pin
Member 127548282-Aug-17 13:50
Member 127548282-Aug-17 13:50 
AnswerRe: Resolution Changes Due To Linq Statement Pin
Dave Kreskowiak2-Aug-17 16:59
mveDave Kreskowiak2-Aug-17 16:59 
GeneralRe: Resolution Changes Due To Linq Statement Pin
Member 127548286-Aug-17 1:45
Member 127548286-Aug-17 1:45 
AnswerRe: Resolution Changes Due To Linq Statement Pin
Pete O'Hanlon3-Aug-17 23:34
mvePete O'Hanlon3-Aug-17 23:34 
QuestionInfo File vs. Hardlink Pin
my Nick1-Aug-17 8:01
my Nick1-Aug-17 8:01 
AnswerRe: Info File vs. Hardlink Pin
Richard Deeming1-Aug-17 9:32
mveRichard Deeming1-Aug-17 9:32 
GeneralRe: Info File vs. Hardlink Pin
my Nick1-Aug-17 21:28
my Nick1-Aug-17 21:28 

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.