(Jim Mischel) Thread pool threads are ideal for performing relatively short compute-bound operations that you want to execute in the background. For example, computing the cells in a spreadsheet, grammar- or spell-checking a document, and other such activities should be done in the background to pre
Tag: Development
My new best friend – PHP’s create_function()
(Felix Geisendörfer) I meant to introduce you to my new best friend for quite a while but didn’t get around to do it so far. His name is ‘create_function’ and he’s a really useful co-worker. For those of you who just vaguely know him – don’t worry, he’s not so much like his ev(a|i)l cousin. Well, th
LINQ To Objects – Part 3
(Ged Mead) Although some of the queries we saw at the end of Part 2 are quite impressive – and light years easier than doing it with Loops and If/Then tests – there are still more improvements to come. Let’s take the situation where you want to run Join queries across two separate data sources. T
Compression and Decompression of Files using Visual Basic 2005
(Abhishek Singh) Compression is the technique to minimize the size of data (or file) by applying some encoding algorithm. The output of the compression is called compressed or zipped data (or file). Decompression is the reverse of compression to get the source data (or file) back by applying some de
Create a temp file with VB.NET
(Irina Medvinskaya) Temp files are generally used for temporary storage and data manipulation. This is often necessary for storing user data, user preferences, session information, application cache, and many other types of information.
Managing Printing in Your .NET Application
(Wei-Meng Lee) The .NET Framework has made it very simple for you to support printing in your .NET applications. In this article, I will show you the basics of printing in .NET 2.0, and how you can configure page setup, print multiple pages, preview a document before it is printed, as well as let us
Tip/Trick: Supporting Full Screen Mode with Silverlight
(Scott Guthrie) One of the nice features that Silverlight supports is the ability to go "full screen" and effectively take over the entire screen of a computer (hiding everything else from sight – including the browser frame). This can be very useful when building immersive UI experiences, games, r
Auto Resize Dropdown Box
(Ashish Singh) Sometimes, using a built-in dropdown control does not meet your requirement. Suppose a dropdown box contains text that is longer in length than your box; therefore, the width of the dropdown will increase as the text length increases. But, an increase in the dropdown’s size affects yo
Refactoring to State/Strategy
(Brian Mains) Sometimes it is more costly to implement an object as it is. Because of that, it is easier to refactor the design into an alternative approach. It can be more efficient and easier to maintain and I am going to illustrate this with a class I originally created that needs to be refactore
CheckedListBox (1) – Checking, Unchecking, Comparing
(Ged Mead) This blog item was originally going to be about ten lines long and all I intended to show was how to programatically uncheck all items in a CheckedListBox in VB 2005. But, you know how it is, you think “Hmm, what about if …?” or “What if I … ?” and before you know it, you’ve got a […]
