<rss version="2.0"><channel><title>BlackWasp Latest Additions</title><link>http://www.blackwasp.co.uk/</link><description>New articles, tips and tricks at the BlackWasp web site.</description><language>en-uk</language><pubDate>27 Apr 2016 00:00:00 GMT</pubDate><lastBuildDate>27 Apr 2016 00:00:00 GMT</lastBuildDate><ttl>1440</ttl><image><title>BlackWasp</title><url>http://www.blackwasp.co.uk/rss/RSSLogo.png</url><width>120</width><height>60</height><link>http://www.blackwasp.co.uk/</link></image><copyright>Copyright (c)2006-2024 BlackWasp</copyright><item><title>SQL Server NOWAIT Hint</title><link>http://www.blackwasp.co.uk/RSSLanding.aspx?page=SqlNoWait</link><description>In some situations it can be necessary to fail quickly when a query is blocked, rather than wait for locks to be released. This can be achieved simply using the NOWAIT hint.</description></item><item><title>Checking if Types are Compatible</title><link>http://www.blackwasp.co.uk/RSSLanding.aspx?page=IsAssignableFrom</link><description>Sometimes is it necessary to determine if an object of one type can be assigned to a variable of another, this being possible either due to inheritance or because of the implementation of an interface. You can make such determinations using reflection.</description></item><item><title>SQL Server Connection Colours</title><link>http://www.blackwasp.co.uk/RSSLanding.aspx?page=SQLStatusColour</link><description>SQL Server Management Studio allows multiple concurrent connections to different servers and instances. This can be risky when connecting to live, test and development systems at the same time.</description></item><item><title>Terminating Processes</title><link>http://www.blackwasp.co.uk/RSSLanding.aspx?page=TerminateProcess</link><description>Sometimes it is necessary to terminate a process immediately, or request that an application close normally, possibly with user intervention. Both actions are possible using methods of the Process class.</description></item><item><title>Ungrouping Page Numbers</title><link>http://www.blackwasp.co.uk/RSSLanding.aspx?page=PageNumberUngrouper</link><description>When users provide a set of page numbers, or similarly numbered items, it is common to allow the information to be entered as a comma-delimited list. Each item in that list could represent a single page or range of adjacent pages that will need to be converted to a simple list.</description></item><item><title>Page Number Grouping</title><link>http://www.blackwasp.co.uk/RSSLanding.aspx?page=PageNumberGrouper</link><description>When listing page numbers in document indexes or for printing, it is common to group adjacent pages. This article describes a method that creates such groupings from a simple collection of integers.</description></item><item><title>Raising Events Using Reflection</title><link>http://www.blackwasp.co.uk/RSSLanding.aspx?page=ReflectionRaiseEvents</link><description>Sometimes it is necessary to raise an object's events using reflection. This can be achieved by obtaining the event's multicast delegate and invoking each of its child delegates in turn.</description></item><item><title>WPF Window Start-Up Locations</title><link>http://www.blackwasp.co.uk/RSSLanding.aspx?page=WPFWindowStartupLocation</link><description>WPF windows can initially be displayed using three positioning options. The location of a window can be set manually, or the new window can be centred on the screen or in relation to its owner.</description></item><item><title>WPF Application Exit Codes</title><link>http://www.blackwasp.co.uk/RSSLanding.aspx?page=WPFExitCode</link><description>When a program exits, it can return an integer that describes its closing status. Although this is commonly used for command-line utilities, the same system of exit codes can be used by WPF applications.</description></item><item><title>Windows Forms Message Boxes</title><link>http://www.blackwasp.co.uk/RSSLanding.aspx?page=MessageBox</link><description>Message boxes provide a simple, standardised method to display information, warnings and errors to the user. They can also be used to ask simple questions and to request confirmation of actions.</description></item></channel></rss>