c# Programming Glossary: failing
C#: TreeView owner drawing with ownerdrawtext and the weird black highlighting when clicking on a node http://stackoverflow.com/questions/1003459/c-treeview-owner-drawing-with-ownerdrawtext-and-the-weird-black-highlighting-w Font textFont e.Node.NodeFont Get the font for the item or failing that for this control if textFont null textFont Font StringFormat..
GMail SMTP via C# .Net errors on all ports http://stackoverflow.com/questions/1082216/gmail-smtp-via-c-sharp-net-errors-on-all-ports I've been trying for a whlie on this and have so far been failing miserably. My most recent attempt was lifted from this stack..
Why can't I unbox an int as a decimal? http://stackoverflow.com/questions/1085097/why-cant-i-unbox-an-int-as-a-decimal i This has left me scratching my head wondering why it is failing to unbox the int contained in the reader as a decimal. Does..
How does the C# compiler detect COM types? http://stackoverflow.com/questions/1093536/how-does-the-c-sharp-compiler-detect-com-types I'm trying to investigate the compiler behaviour and I'm failing to fake the first part. I can do the second part with no problem..
XmlSerializer giving FileNotFoundException at constructor http://stackoverflow.com/questions/1127431/xmlserializer-giving-filenotfoundexception-at-constructor at constructor An application I've been working with is failing when I try to serialize types. A statement like XmlSerializer..
Generating .NET crash dumps automatically http://stackoverflow.com/questions/1134048/generating-net-crash-dumps-automatically question Note that creating a minidump from inside the failing process or even thread itself is not trivial or might not be..
Are Timers and Loops in .Net accurate? http://stackoverflow.com/questions/11531128/are-timers-and-loops-in-net-accurate it. You haven't even shown us the timer's interval. You're failing to consider many variables here and you're basing your predictions..
How accurate is Thread.Sleep(TimeSpan)? http://stackoverflow.com/questions/1303667/how-accurate-is-thread-sleeptimespan TimeSpan I've come across a unit test that is failing intermittently because the time elapsed isn't what I expect..
Unit test for thread safe-ness? http://stackoverflow.com/questions/1715822/unit-test-for-thread-safe-ness safe but to prove it and use TDD I want to write some failing unit tests before I start refactoring. Any good way to do this..
Best Practice for Exception Handling in a Windows Forms Application? http://stackoverflow.com/questions/183589/best-practice-for-exception-handling-in-a-windows-forms-application This can be as simple as wrapping Main in a try catch failing fast with a graceful error message to the user. This is the..
Why cannot C# generics derive from one of the generic type parameters like they can in C++ templates? [duplicate] http://stackoverflow.com/questions/1842636/why-cannot-c-sharp-generics-derive-from-one-of-the-generic-type-parameters-like the latter are first class run time entities. Still I am failing to see the reason why CLR designers did not come up with a scheme..
What are the correct version numbers for C#? http://stackoverflow.com/questions/247621/what-are-the-correct-version-numbers-for-c version number e.g. C# 3.5 . The hope is that anyone failing to find an answer with the wrong version number will find this..
How do I build a JSON object to send to an AJAX WebService? http://stackoverflow.com/questions/2737525/how-do-i-build-a-json-object-to-send-to-an-ajax-webservice trying to format my JSON data by hand in javascript and failing miserably I realized there's probably a better way. Here's what..
Convert.ChangeType() fails on Nullable Types http://stackoverflow.com/questions/3531318/convert-changetype-fails-on-nullable-types value property.PropertyType null The problem is this is failing and throwing an Invalid Cast Exception when the property type..
How can a Metro app in Windows 8 communicate with a backend desktop app on the same machine? http://stackoverflow.com/questions/7465517/how-can-a-metro-app-in-windows-8-communicate-with-a-backend-desktop-app-on-the-s to the user. Pavel Minaev commenting on this issue So failing normal approaches I was thinking of using web services or reading..
How can I get WinForms to stop silently ignoring unhandled exceptions? http://stackoverflow.com/questions/7572995/how-can-i-get-winforms-to-stop-silently-ignoring-unhandled-exceptions fact that an exception occured resulting in the debugger failing to break on the unhandled exception. Unfortunately where is..
How do I run NUnit in debug mode from Visual Studio? http://stackoverflow.com/questions/759854/how-do-i-run-nunit-in-debug-mode-from-visual-studio wants to run it's own test framework and that's why it's failing to find the NUnit tests Edit To those asking about test fixtures..
Large WCF web service request failing with (400) HTTP Bad Request http://stackoverflow.com/questions/784606/large-wcf-web-service-request-failing-with-400-http-bad-request WCF web service request failing with 400 HTTP Bad Request I've encountered this apparently..
How to use WebBrowser control DocumentCompleted event in C#? http://stackoverflow.com/questions/840813/how-to-use-webbrowser-control-documentcompleted-event-in-c my 5m hack seems to be working fine. Maybe i am really failing at querying google or MSDN but i can not find How to use webbrowser..
ASP.Net MVC - model with collection not populating on postback http://stackoverflow.com/questions/887505/asp-net-mvc-model-with-collection-not-populating-on-postback i.e. should this work 2. Any ideas as to why it might be failing to populate the ContactInformation object Many thanks Richard..
How can I determine for which platform an executable is compiled? http://stackoverflow.com/questions/197951/how-can-i-determine-for-which-platform-an-executable-is-compiled My target language is PowerShell but a C# example will do. Failing either of those if you know the logic required that would be..
How to Access AppData in IE Protected Mode (from a Managed BHO) http://stackoverflow.com/questions/1992765/how-to-access-appdata-in-ie-protected-mode-from-a-managed-bho to mark files are readable by lower integrity processes Failing that is there some way to force the BHO to run at medium level.. some way to force the BHO to run at medium level integrity Failing that is there some way to create a low integrity symlink in.. folders which points to a medium integrity file in AppData Failing that is there some way to force the application to use a user.config..
ASP.NET request validation causes: is there a list? http://stackoverflow.com/questions/2200788/asp-net-request-validation-causes-is-there-a-list any alphabetic character a z or it's a dangerous string. Failing all of that the value is OK. The System.Web.CrossSiteScriptingValidation..
Proper way to implement IXmlSerializable? http://stackoverflow.com/questions/279534/proper-way-to-implement-ixmlserializable element automatically. Your implementation must do so. Failing to observe these positioning rules may cause code to generate..
Usage of IoC Containers; specifically Windsor http://stackoverflow.com/questions/367178/usage-of-ioc-containers-specifically-windsor config every time i guess not or lifecycles couldnt work . Failing to understand this is preventing me from working out how the..
LINQ performance FAQ http://stackoverflow.com/questions/4044400/linq-performance-faq repositories of information or books for 'Effective LINQ' Failing that what is your own personal favourite high performance LINQ..
ASP.NET Access to the temp directory is denied http://stackoverflow.com/questions/542312/asp-net-access-to-the-temp-directory-is-denied which also resets the permissions on the required folders. Failing that try using Process Monitor to check what's going on and..
Can I develop iPhone applications using C#.NET on Vista? http://stackoverflow.com/questions/676291/can-i-develop-iphone-applications-using-c-net-on-vista platform that supports the iPhone and runs on Windows Failing that bite the bullet and get a cheap Mac from EBay. Officially..
High performance graphics using the WPF Visual layer http://stackoverflow.com/questions/8713864/high-performance-graphics-using-the-wpf-visual-layer frame becomes the bottleneck depending on your CPU power. Failing that if you really need high performance rendering I'd suggest..
Entity Framework 4.3 doesn't create database http://stackoverflow.com/questions/9364750/entity-framework-4-3-doesnt-create-database connection string. public Context base MyConnection Failing that could you try updating your database from the Package Manager..
How do I ZIP a file in C#, using no 3rd-party APIs? http://stackoverflow.com/questions/940582/how-do-i-zip-a-file-in-c-using-no-3rd-party-apis I absolutely have to. A PInovke call would be much better. Failing that let me tell you what I'm really trying to accomplish I..
C# https login and download file http://stackoverflow.com/questions/9841344/c-sharp-https-login-and-download-file the other way around. Does not cleanup disposable objects. Failing to dispose an object can result in the object hanging around..
|