
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.
uild a Java Web Application Using HttpUnit and Test-driven Methodology, Part I showed how HttpUnit complements the JUnit functionality to provide testing capability for Web applications, which ordinarily are difficult
martPhones are the new devices that are said to be the death knell of the PDA and its clones. You can leverage your existing .NET skills and be among the
ometimes Java classes seem like close relatives who unfortunately don’t have the same parent. Their structures and looks are similar, but not so similar that you can derive one from
bad response time on your Web site can drive away visitors and prospective customers. Unfortunately, you may not realize that your Web site is having problems until people start complaining.
In Part I we mapped out the plan: We will build, test, and try to sell a small commercial BREW-based application. In Part II, we created our .MIF file and
have been a Microsoft SQL Server developer for a number of years. One the things I like about SQL Server is that it is easy to install and once installed
sing Oracle as your database in the .NET environment is relatively simple, except when returning JDBC ResultSets from Java stored procedures. The Microsoft and Oracle .NET data provider drivers allow
SP.NET has considerably raised the bar for Web development with very rich developer functionality built into a flexible and highly extensible object model. If you have a background of hand-coding
Vanja Fuckar has developed a library that adds support for the mouse wheel in the VB6 IDE, i.e. in the code window, Immediate window etc. The library is written in
‘ Extract the first and last name from a string will the full name.’ The routine handles the “LastName, FirstName” and “FirstName LastName” ‘ formats, and returns the first and
‘ Read all lines from a text file into a String array” Example:’ Dim lines As String() = FileToArray(“D: est.txt”)’ Dim line As String’ For Each line In lines’ Debug.WriteLine(line)’
‘ Return the current contents of the screen or the active window’ It works by simulating the typing of the Print-Screen key (and Alt key if ‘ activeWindowOnly is True),
‘ Generate a random password with the specified length. The password will only ‘ contain digits and letters (either lowercase or uppercase)” Example: generating a password of 8 chars’ Dim
‘ Move the cursor to the center of the input control’ Example: MoveCursorToControl(Button1)Sub MoveCursorToControl(ByVal target As Control) ‘ calc the x/y coords relative to the control Dim x As Integer
If you use VS.NET you know that there are a number of classes that offer visual design-time support, i.e. they can be dragged and dropped on your form, and their
e’ve all faced those irritable questions about our applications running in production. Typically a system administrator will spring one on you on a Friday afternoon just when you’re finishing out
isual Studio .NET provides an incredible leap forward from its predecessor in terms of functionality, but eventually, every developer finds a sought-after feature that just seems overlooked. VS .NET provides
rom the time Visual Studio.NET was first in beta there has been a constant debate about a subject that is near and dear to all Visual Studio .NET developers. This
y favorite source code repository is SourceGear’s Vault. Besides being written in .NET, it is highly optimized for remote development scenarios. I was installing a new instance of Vault on
eplication figures as one of the more prominent features of SQL Server 2000. Replication is a complex application that uses a combination of stored procedures and executables to distribute and
nother summer, another Tech?Ed. This is, of course, the 10th anniversary of Microsoft’s annual geekfest, and I’ve had the honor of being at all of them besides one somewhere in
o get the most out of ADO.NET classes, developers must fully understand the model and study a few best practices. Based on years of real-world experience with ADO, ADO.NET provides
Unit performs automated testing for standalone Java applications that either run on the command line or serve as components. If you develop large-scale or distributed applications, however, you are most
This code displays the cookies sent by a browser, if any, including any subkeys to those cookies.
oftware technology goes forward in fits and starts. Bigger advances can cause plenty of information indigestion for technologists. At each leap, a new understanding gap opens up. Such a gap
The folowing stored procedure will find and replace a string in a table: CREATE PROCEDURE [dbo].[sp_st_FindANDReplaceString]@Tablename varchar(20),@FieldName varchar(20),@FindString varchar(30),@RepalceString varchar(30)ASdeclare @sqlstring varchar(8000)Select @sqlstring = “Update ” + @Tablename + “
A disconnected recordset is a recordset which does not hold an active connection. A fabricated recordset can be viewed as a variation of a disconnected recordset. The variation in the
This program prints out the name and the address (in both textual and numerical forms) of the machine on which its run, using the InetAddress singleton. import java.net.*;public class CurrentHost
All programmers?especially database programmers?require a function that replaces all occurrences of one substring with another string. For example, they need to replace the single quotes in strings passed to an
You can serialize your data quickly by placing it into a PropertyBag object, then reading the PropertyBags Contents property. This property is really a Byte array that is a serial











