The Latest

DevX - Software Development Resource

Most runtime errors don’t rollback transaction

Many developers mistakenly believe that any error inside a transaction will make the transaction fail and automatically rollback. However, this is true only for fatal errors, such as most errors

DevX - Software Development Resource

Retreive information about SQL Server

You may retrieve a few important information about a connection to SQL Server by querying the server through appropriate @@ global variables. For example, the following routine takes an ADO

DevX - Software Development Resource

The WITH CHECK OPTION option with views

SQL Server’s views are updateable, but it is possible that when you insert a new record or update an existing record, the record added or modified doesn’t logical belog to

DevX - Software Development Resource

GetHtmlPageSource – Get the HTML of a page using MSXML library

‘ Getting the HTML code of any page on the web’ NOTE: requires the Microsoft XML library’ Example:’ Text1.Text = GetHtmlPageSource(“http://www.vb2themax.com/Default.asp”)Function GetHtmlPageSource(ByVal URL As String) Dim objHTTP As New XMLHTTP

DevX - Software Development Resource

Swap the values of two columns

At times you may need to swap the values of two columns of the same SQL Server table. For example, suppose that you realized that the fname column of the

DevX - Software Development Resource

Calculate the product of a field

The SQL language includes the SUM() aggregate function, that evaluates the sum of all the values in a given column, but it doesn’t include a PROD() function that evaluates the

DevX - Software Development Resource

SetWallpaper – Change or remove the desktop wallpaper

Private Declare Function SystemParametersInfo Lib “user32” Alias _ “SystemParametersInfoA” (ByVal uAction As Long, ByVal uParam As Long, _ ByRef lpvParam As Any, ByVal fuWinIni As Long) As LongConst SPI_SETDESKWALLPAPER =

DevX - Software Development Resource

Release COM objects immediately

When you use a COM or COM+ from a .NET application and then you set the object reference to Nothing (or let it go out of scope), the object isn’t

DevX - Software Development Resource

New Visual C++.NET Option Tightens Buffer Security

Editor’s Note: This article discusses a new feature in the Microsoft Visual C++.NET compiler, which at the time of publishing was still in beta. The features described may change before

DevX - Software Development Resource

The NeoCalendar Library

The NeoCalender Library consists of two ActiveX Controls, developed by Neo Components, which are designed to replace the MonthView and DTPicker controls that ships with VB. These two controls are

DevX - Software Development Resource

Creating multiline tooltips

In VB6 there was no easy way to create multiline tooltips for form controls, you necessarily had to resort to API tricks. And it was probably just not worth the

DevX - Software Development Resource

Changing the project’s output type

When you start developing an application, the first thing you do in VS.NET is creating a new project and selecting its type: Windows Forms application, Class Library etc. However, it

DevX - Software Development Resource

Parsing and validating string dates

If you have a string variable that should specify a date (asked in input to the user, for example), you can parse the string and get a Date variable by

DevX - Software Development Resource

New Eclipse Project Addresses Automated Software Quality

Final – For Release December 17, 2002 New Eclipse Project Addresses Automated Software Quality Open-source framework is basis for extending development platform to support deployment evaluation “Project Hyades” Builds upon

DevX - Software Development Resource

Reflection Part I: Discovery and Execution

eflection in .NET is an exciting new tool for most developers. This article shows you how to use reflection to discover objects at runtime that you did not know existed

DevX - Software Development Resource

Dynamically Executing Code in .NET

xecuting code dynamically at runtime is a powerful tool to allow users to customize applications after deployment. .NET provides all the tools that make it possible to build code on

DevX - Software Development Resource

Charting Unknown Waters in JDK 1.4

ondering what I would dig up in the JDK 1.4 source code, I recently started looking through the classes in the java.util.* package?without even the subpackages. That alone kept me

DevX - Software Development Resource

Piloting Microsoft’s Security Ship

hat you are involved in at Microsoft and what changes have been made in the security arena? Steve Lipner: The Secure Windows Initiative (SWI) was created in early 2000, right