devxlogo

Tip Bank

Hosting Multiple Domains

Question: How do I host multiple domains with Exchange Server 5.5? I have six domains that I would like to host on this server, but I only know how to

Offline E-mail But Online Calendar

Question: Do you know of any way to use offline folders by default but to have your calendar work online? (I am using Outlook 2000.) I want to work offline

EmptyRecycleBin – Delete all files in the Recycle Bin

Private Declare Function SHEmptyRecycleBin Lib “shell32.dll” Alias _ “SHEmptyRecycleBinA” (ByVal hWnd As Long, ByVal pszRootPath As String, _ ByVal dwFlags As Long) As LongConst SHERB_NOCONFIRMATION = &H1Const SHERB_NOPROGRESSUI = &H2Const

Check whether a sound card exists

If you are developing a game in VB or an application that plays sounds, you probably want to check that a sound card actually exists. There is an API function

Lazy Versus Eager Instantiation

There are techniques for creation of objects (read allocation of memory)widely known as lazy Instantiation and Eager Instantiation.Lazy instantiation is a memory conservation technique, by which, a programdelays the creation

Get all your Threads and Thread Groups

It might be useful to garner an enumeration of all thread groups and theirthreads in your running application. The following method shows you how todo that: public void printOutThreadGroups(){ //create