/Home /Archive /Syndicate /Blog /Support /About /Contact  
All Visual Basic Feeds in one place!





A typical requirement when dealing with a WinForms application is to notify the user that something has occurred within your application. This can be done in many different ways. Today I would like to show you how to make your Form flash in the Task Bar, and how to make the Window Caption flash as well. Start by creating a new Windows Forms Application and name it " FormFlash " Next add a New Module to the project called " FormFlashExtension " Replace the ... [ read more ]
In my last post I discussed how to create a Class Library (.dll) file for your Extension Methods. Here I would like to share some of my commonly used String and Date Extensions Imports System.Runtime.CompilerServices Imports System.Text.RegularExpressions Imports System.Security Public Module CommonExtensions <Extension()> _ Public Function IsEmailAddress(ByVal value As String) As Boolean Return Regex.IsMatch(value, "\w+([-+.']\w+)*@\w+([-.]\ ... [ read more ]
One of the cool new features in Visual Studio 2010 is the Chart control.  (A very similar control is available as a free download to work with Visual Studio 2008, but charting is now built into the 4.0 framework.  You can find the 2008 version here .)  The native support in 4.0 is a big help for ASP.NET developers, because we no longer need to worry about getting permission to install a DLL in shared server environments. Here's an e ... [ read more ]
It's a common need to provide fuctionality to users for checking and unchecking ALL CheckedListBox items: You can implement the check all and uncheck all logic using extension methods. The code below shows how to add CheckAll and UncheckAll extension methods to the Windows Forms CheckedListBox class. Public Module ExtensionMethods <Extension()> _ Public Sub CheckAll(ByVal checkedListBox As CheckedListBox) For i As Integer = 0 To checkedList ... [ read more ]


© 2005 Serge Baranovsky. All rights reserved.
All feed content is property of original publisher. Designated trademarks and brands are the property of their respective owners.

This site is maintained by SubMain(), a division of vbCity.com, LLC