
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.
In .NET, strings are immutable: When you pass them out to an API, you can
When you use components in your VB projects, sometimes it
Have you ever wanted to send more than one value for an associated name by passing values to a Servlet or JSP using a name-value pair? A simple way to
The newsgroups offer a lot of discussion about bitwise comparison in SQL statements. VB supports true bitwise arithmetic with And, but SQL supports only a logical AND and returns only
Contrary to popular thought, you can add new records to an ADO 2.1 Recordset object that is the result of a Join operation executed on multiple-base tables. You must specify
Stewart Alsop gave an offbeat keynote at the BREW 2002 Developers Conference in early June. A onetime editor-in-chief of PC industry newspaper InfoWorld, an entrepreneur, and a longtime PC industry
‘ Center caption in Adodc control” Input: frmForm – Form Adodc contol in on’ datAdodc – Adodc control’ sCaption – Caption text” Output: Padded Caption textSub CenterCaptionInAdodc(ctrl As Adodc, ByVal
‘—————————————————————–‘ Module: mBases’ (C) 2000 Trinet Ltd, http://www.trinet.co.uk’ Author: R. Deeming ([email protected])” Purpose: To provide simple conversion between different’ number bases, including fractional parts.” An example of advanced conversion is
n part one of Comparing Computer Information, I covered some of WMI’s low-hanging fruit (meaning, information that is relatively easy to retrieve). However, there are other, rather interesting pieces of
esolving deadlocks is one of the more elusive solutions in database application development. Deadlocks are the dark side of concurrency, that is, they occur when some combination of locking, coding,
cSuperClass.cls is yet another compiled in subclasser but with some major differences… this one doesn’t use a module, instead it dynamically generates a machine code window procedure that can operate
VB developers have always used the #IF compiler directive to include or esclude portions of code from the application. The problem with this directive is that you can easily exclude
.NET arrays are object types, thus an array variable is actually a pointer to the object where data is actually stored. For this reason, when you pass an array to
In VB6 and previous version, displaying an enumerated value in a group of option buttons is quite simple, provided that the option buttons be grouped in a control array. VB.NET
The .NET framework doesn’t offer any direct way to evaluate an expression that has been entered by the end user when the application is running. However, it is quite simple
The application’s priority – and more in general the thread’s priority – indicates how the application is “important” for the CPU. The more the priority is hight the more the
he Rosicrucian Egyptian Museum in San Jose, CA displays clay tablets used by ancient Babylonians to record information. These tablets are nearly identical in size to the modern PDA. In
Read-only and write-only properties in a Web Service class aren’t visible to the Web Service client. The reason is that XML serialization doesn’t support these sort of properties, and read-only
The WebStresser utility is a simple VB6 application that repeatedly sends an HTTP request to the Web server of your choice. You can use it to test the ASP or
The Console class exposes two properties that make it very simple to create command-line utilities that work as filters, exactly like the FIND and MORE utilities that are provided with
C# has a nice feature that VB.NET lacks: the ability to define a Main procedure that takes an array of strings, each one containig one of the arguments passed on
The Environment.GetEnvironmentVariables property returns the list of all the environment variables, as an IDictionary object. If you want to display them sorted by their name, as the SET command does
Writing an application that returns an ERRORLEVEL to Dos is quite difficult in VB6, because you are forced to use a Windows API that ends the application immediately, thus preventing
The System.Math class exposes several static methods that let you perform many common operations. These functions replace the VB6 functions with same name, but there are a few new functions
Everybody knows the game of Life, where a program simulates the life of a cell colony that is subject to strict survival rules. This VB6 super-optimized implementation is so fast
The GetFolderPath method of the Environment class lets you retrieve the path of several important system directories. For example, here’s how you determine the path of the Desktop directory for











