We are an award-winning tech entrepreneurship website where trusted experts can provide value globally.

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.

devxlogo

Trusted for 26 years

Over 30K Articles

1M+ Readers

Expert-reviewed

10K+ Tech Terms

As seen in:

microsoft logo
business_insider_logo
wired_logo
berkley
arstechnica_logo
hackernoon

The Latest

DevX - Software Development Resource

IsValidUsSSN – Validating a US Social Security Number (SSN)

‘ Validate a US Social Security Number’ Example:’ MessageBox.Show(IsValidUsSSN(“123-12-1234”)) ‘ True’ MessageBox.Show(IsValidUsSSN(“123-123-1234”)) ‘ FalseFunction IsValidUsSSN(ByVal ssn As String) As Boolean Return System.Text.RegularExpressions.Regex.IsMatch(ssn, _ “^d{3}-d{2}-d{4}$”)End Function

DevX - Software Development Resource

IsValidUsPhoneNumber – Validating a US phone number

‘ Validate a US phone number’ Example:’ MessageBox.Show(IsValidUsPhoneNumber(“(123) 456-7890”)) ‘ True’ MessageBox.Show(IsValidUsPhoneNumber(“(123) 456-78901”)) ‘ FalseFunction IsValidUsPhoneNumber(ByVal phnNum As String) As Boolean Return System.Text.RegularExpressions.Regex.IsMatch(phnNum, _ “^(((d{3}) ?)|(d{3}-))?d{3}-d{4}$”)End Function

DevX - Software Development Resource

IsValidPath – Validating a system path

‘ Validate a system path’ Example:’ MessageBox.Show(IsValidPath(“C:TestMemo.txt”)) ‘ => True’ MessageBox.Show(IsValidPath(“\RemotePCTestMemo.txt”)) ‘ => True’ MessageBox.Show(IsValidPath(“C:TestMem|o.txt”)) ‘ => FalseFunction IsValidPath(ByVal path As String) As Boolean Try Dim f As New System.IO.FileInfo(path)

DevX - Software Development Resource

Book Excerpt: J2ME: The Complete Reference

ava developers, here’s your chance to survey the scope of J2ME (Java 2 Micro Edition) knowledge in one solidly written reference. Discover the basic architecture and functionality of J2ME and

DevX - Software Development Resource

Understanding the Psychology of Programming

t has often been said that programmers are introverts. I find that this isn’t true, in the majority of cases, but programmers usually do have a longer attention span and

DevX - Software Development Resource

IsExcelInstalled – Checking whether MS Excel is installed

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

DevX - Software Development Resource

ReverseString – Reversing a String

‘ 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

DevX - Software Development Resource

IsWordInstalled – Checking whether MS Word is installed

‘ 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 =

DevX - Software Development Resource

CountOccurrences – Counting the number of string occurrences

‘ 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

DevX - Software Development Resource

Translate Your Program Easily

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

DevX - Software Development Resource

Do Your Web Pages Use JavaScript?

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

DevX - Software Development Resource

Case-sensitive Comparisons

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

DevX - Software Development Resource

Improve Your Search Algorithms

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

DevX - Software Development Resource

A Preview of Visual C++ .NET 2003

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

DevX - Software Development Resource

Shaped .NET Windows Forms

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,

DevX - Software Development Resource

Scripting SQL Server 2000 Indexes

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

DevX - Software Development Resource

Using Remote Object Models in .NET

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,

DevX - Software Development Resource

Reflection Part II: Emit

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

DevX - Software Development Resource

Office Server Quirks

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