Tip Bank

DevX

Produce a Hex Dump of the Contents of a URL

This program opens connection with a specified URL and hex-dumps the contents received from an associated input stream. Use this to find out what’s going on with your browser. public

DevX

Sequence a Number Field Without an Identity Column

To begin, create a table with dummy records: Create table Table1 ( [Record Value] varchar(20), [Record Date] smalldatetime)goinsert into table1 values (‘Record 1′,’07/21/2003’)insert into table1 values (‘Record 2′,’07/22/2003’)insert into table1

DevX

Create Unconventional Windows to Dazzle Users

When designing a portion of an application that must grab users’ attention quickly&3151;such as your companys splash screen?you might want to create a nonrectangular window. This code shows you how

DevX

Format Strings in Proper Case

VBScript does not support the StrConv() function, which is useful to format strings in proper case. Use this algorithm to help you: Public Function StrConv( _ ByVal psString, ByVal plFormat)

DevX

Shortcuts to useful VS.NET’s commands

Visual Studio .NET has a number of useful features that are often underused by developers, because they are hidden under several menus and not easily accessible. Here is a list

DevX

Setting up multiple start-up projects

By default, a solution has a single start-up project, namely the project that is automatically launched when you click Debug | Start or press F5. However, you have the option