
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.

‘ Reverse the input string, without using the StrRever function in the VB6 ‘ compatibility assemblyFunction ReverseString(ByVal source As String) As String Dim chars() As Char = source.ToCharArray() Array.Reverse(chars) Return

‘ this code assumes that you have used this Imports statement’ Imports Microsoft.Win32Function IsWordInstalled() As Boolean ‘ Define the RegistryKey objects for the registry hives. Dim regClasses As RegistryKey =

‘ Count the number of string occurrencesPublic Function CountOccurrences(ByVal source As String, ByVal search As String, _ Optional ByVal ignoreCase As Boolean = False) As Integer Dim options As System.Text.RegularExpressions.RegexOptions

‘ Return the number of checked nodes in the specified treePublic Function CountCheckedNodes(ByVal rootNode As TreeNode) As Integer Dim count As Integer = 0 ‘ count the root node, if

If you want your program to be easily translated into a different language, consider making every displayed text a resource in a dll. Every language will have its own .dll

You will never have to check the form tag for local page postbacks.This nipped me once.

What happens if your visitors have it disabled?Include the following code to: Let them know that JavaScript is disabled. Tell them how to enable it in their browser. To view

If you have used a native method through a Java interface, then you might already know that a header file is generated from the Java class that contains the native

To program a case-sensitive comparison of a user-typed password on a case-insensitive SQL Server 7.0 instance, assume that the value of the password stored in your table is BamBi2000 (notice

A normal practice in implementing a search is to use the “like” operator. As long as you are searching for your keyword in only one column, there will be no

y the time you are reading this Microsoft will be very close to shipping Visual Studio .NET 2003 and its associated language products?including Visual C++. February 2003 marks an exciting

ince the earliest versions of the Windows operating system, all Windows have been rectangular. However, the number of applications that break out of this boring mold is rising. Even Microsoft,

luetooth is one of today’s most exciting technologies. It is a short-range radio wave wireless technology operating in the 2.4 GHz frequency spectrum. With an operating range of 30 feet

dding indexes to tables is the most effective way to optimize your SQL Server query performance. Tables that you query often may require several indexes in order to handle the

odern applications are no longer isolated, stand-alone applications, limited to a single process or machine. Distributed applications allow you to put components in close proximity to the resources they use,

asting, or converting the value of a token from one type of data to another is common to most (if not all) programming languages. Visual Basic has long had a

irst, a quick review of exactly what reflection is and what it is used for. From Part 1, you know that “Reflection is a means of discovering information about objects

ord, Excel and PowerPoint all use VBA, so you would think that using Automation in one should be pretty much like using Automation in another, right? In fact, they do

n a recent interview with DevX, Alex Slawsby, research analyst for smart handheld devices at IDC, laid out a challenging roadmap for developers preparing to take the plunge into wireless

xtender classes do just that; they allow you to extend the functionality of a .NET control class. The Error Provider and Tooltip classes are two examples of extender classes in

‘m writing this column in my head at about 3 am on a Sunday morning, while staring at the roof of a swaying tent on top of a mountain in

elcome to this first issue of 2003. We have some interesting things in this issue for you. The first item to note is our coverage of Visual C++ 2003. YES,

hen I first met the ASP.NET DataGrid control, it was love at first sight. Together we built several applications, taught dozens of classes, published countless articles and tips; we even

he promise of write-once-run-anywhere is arguably more attractive and far more economically advantageous for developers targeting mobile devices; mobile hardware is so diverse that cutting development time by writing one

everal months ago I sat down to write an editorial for DevX, which I had tentatively titled “Where’s My Wireless Killer App?” The premise of this editorial was to be,

i-Fi wireless LANs are exploding in the corporation. Corporations have adopted 11.6 million Wi-Fi devices in 2002, a 65 percent increase over 2001, according to market researcher In-Stat/MDR. Notebooks, PDAs,

he job ahead of creating new wireless applications and extending traditional desktop applications to mobile devices is somewhat ominous, but the good news, according to Gartner Research Analyst Theresa Lanowitz,

f 802.11 wireless LANs promise to untether corporate users from their wired network connections, then Voice over Wireless IP (VoWIP) promises to free them from their telephone handsets. VoWIP is

eaching critical mass for wireless in the enterprise has been a long time coming. Interest in and reliance on wireless technology has crept steadily ahead, but for several years now,

t’s tempting to think that we might be at or near the peak of the curve for wireless device proliferation, but that’s nowhere near the truth. Ken Dulaney, vice president











