Tip Bank

DevX - Software Development Resource

Adding events dynamically in a Windows Form

The new AddHandler statement makes it possible to attach event dynamically, that is without having to bind them via static code based on the Handles keyword. This keyword is also

DevX - Software Development Resource

Showing help

The System.Windows.Forms.Help class encapsulates the HTML Help 1.0 engine and lets you display the index, the search page, or a specific topic in an HTML file in HTML Help format

DevX - Software Development Resource

Create all the subdirectories for a new folder

The System.IO.Directory class exposes a CreateDirectory method that, as its name suggests, can create a subdirectory. However, this method is even more powerful than it appears at a first glance,

DevX - Software Development Resource

Mouse clipping with the Cursor class

The Clip property of the System.Windows.Forms.Cursor class represents the rectangle within which the mouse cursor is confined, or Nothing if the mouse can move over the entire screen. This rectangle

DevX - Software Development Resource

Open a Small Browser Window

The small window is usually used as a pop-up page for advertisements or to show information concerning particular keywords.For example, you can put in a page: Requestor: James Dean When

DevX - Software Development Resource

Validate the Date in Javascript

//validation of From Date//Here FromDay,FromMonth,FromYear & ToDay,ToMonth,_ToYear are the names ofthe form fields corresponding to from date and to _dates. Assuming thatthese are drop down fields on the form.function validateFromDate(){