
Since 1998, DevX has helped people start businesses, build websites, and provide enterprise technology to people globally. Interviewing the likes of Microsoft’s co-founder, Steve Ballmer, the publication brings comprehensive, reliable, and accessible insights to the Internet.

Private Declare Function GetVolumeInformation& Lib “kernel32” Alias _ “GetVolumeInformationA” (ByVal lpRootPathName As String, _ ByVal pVolumeNameBuffer As String, ByVal nVolumeNameSize As Long, _ lpVolumeSerialNumber As Long, lpMaximumComponentLength As Long, _

Private Declare Function GetFileVersionInfoSize Lib “version.dll” Alias _ “GetFileVersionInfoSizeA” (ByVal lptstrFilename As String, _ lpdwHandle As Long) As LongPrivate Declare Function GetFileVersionInfo Lib “version.dll” Alias _ “GetFileVersionInfoA” (ByVal lptstrFilename As

Private Type SYSTEMTIME wYear As Integer wMonth As Integer wDayOfWeek As Integer wDay As Integer wHour As Integer wMinute As Integer wSecond As Integer wMilliseconds As IntegerEnd TypePrivate Type FILETIME

Private Declare Function GetLogicalDriveStrings Lib “kernel32” Alias _ “GetLogicalDriveStringsA” (ByVal nBufferLength As Long, _ ByVal lpBuffer As String) As Long ‘ Check whether a given drive exist’ Note that this

Private Declare Function FindExecutable Lib “shell32.dll” Alias _ “FindExecutableA” (ByVal lpFile As String, ByVal lpDirectory As String, _ ByVal sResult As String) As LongPrivate Const MAX_PATH = 260Private Const ERROR_FILE_NO_ASSOCIATION

Private Declare Function GetDriveType Lib “kernel32” Alias “GetDriveTypeA” _ (ByVal lpRootPathName As String) As LongConst DRIVE_UNKNOWN = 0 ‘ type can’t be determinedConst DRIVE_NO_ROOT_DIR = 1 ‘ wrong argumentConst DRIVE_REMOVABLE

When you use a “DSN-less” data connection to a Microsoft Access database, you must provide the physical path to the database. If your files are kept on your ISP’s Web

Question: Is there a way to track staff holidays using Microsoft Outlook and Exchange? Answer: To track them? That depends upon your definition of tracking, I suppose. The way that

Question: I need to remove a drive from a Microsoft Cluster Server. As a result, I have to move the Message Transfer Agent log files, the Directory service database file,

Question: When I use the Outlook 98 Inbox Assistant to “reply to mail sent to me using a specific template,” it starts an e-mail ping-pong/volleying situation when the Internet recipient

Question: I’m creating a database to be used with a Web site. The database contains news stories, which will need to be indexed from a list of keywords that come

Question: I am accessing a database that has two fields that I need to combine. The problem is that the first field is set to hold eight characters. If the

Question: This happened when I issued the NETSTAT command: TCP informix:turbo as2000:1260 CLOSE_WAITTCP informix:turbo as2000:1261 CLOSE_WAITTCP informix:turbo as2000:1262 CLOSE_WAITTCP informix:turbo as2000:1263 CLOSE_WAIT Is this why we can’t get more connections?

Question: How do I set up forwarding in Exchange? I have a user who wants all mail coming into his current Exchange e-mail box to be forwarded to a personal

Question: Is there a way to determine the Window Handle (hWnd) in an Active Server Page? I am calling an ActiveX DLL from ASP written in Visual Basic and need

Browsers Targeted: Internet Explorer 4+ Designing effective Web graphics is always a challenge?you want to provide the best looking graphics on all platforms, but when one person runs their browser

Browsers Targeted: Internet Explorer 3+ You can display a message in the status bar of Internet Explorer using the window.status object. This message is highly transient and should be used

Question: JavaScript’s date() function gives the user’s computer date and time. How do I display my local date and time on my Web page regardless of where the user surfs

Question: Is there any way to cache a .js file at the client, just like an image file, to reduce the number of trips to the server? Answer: You don’t

Question: How can I make the title bar of a window flash? Answer: This can’t be done using JavaScript. Most browsers delegate the responsibility for how their windows are displayed

Question: Is it possible to use more than one onLoad command in my tag? Answer: Sure. Like other event handlers, the onLoad event handler you’re including within the tag on

If you are using Internet Information Server version 5, you can redirect browsers to a new page more efficiently. In IIS 4, you had to use Response.Redirect as in this

When you need to iterate through all the elements of a control array, use this code: Dim J As IntegerFor J = Text1.LBound to Text1.Ubound With Text1(J) ‘ Work here…

If you want to step through the code behind a certainscreen element at run time, you might do something like this in break mode: Hit Ctrl-Break from run mode, use

Toss the Common Dialogs ControlIn Chris Barlow


The Split function is great for parsing strings, but what happens when a string has more than one consecutive delimiter? It might seem odd that Split() returns empty substrings as

Applets use a default background of gray, which may not be visually appealing to you. Besides, gray may be the background color of the web page on which the applet

Modern Java IDEs like Symantec’s Visual Cafe and Inprise’s JBuilder offer advanced applet debugging facilities. However, if you develop your applets using only the freely distributed JDK, it might be

It sometimes makes a lot of sense to throw an exceptionfrom the constructor of a class; look at constructors ofthe java.net.URL for an example. But what do we do if











