October 2, 1999

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

Show the contents of the Recycle Bin folder

You can use the ShellExecute API function to programmatically open a window of Explorer and display the contents of the Recycle Bin. This is the function’s declare: Private Declare Function

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

Outlook View Control

he Outlook View control released by Microsoft allows you to display an Outlook folder in your application. The folder displayed in the control is fully functional; you can create, open,

Convert a Text File to XML

ere’s an interesting conundrum. You have an application that doesn’t have an object model (or has one that’s so hideously complex that you’d just as soon not pay a programmer

Display Selective Data From a Database

n last month’s 10-Minute Solution, you learned how to display data from a database. This time, you’ll see how to use this technique to pick and choose what to display

Managing Inactivity Timeouts

ne way to implement an inactivity timeout in an application is to keep track of the last time a MouseEvent or KeyEvent was sent to an application. In a separate