devxlogo

The Latest

Applying Design Issues and Patterns in Web Services

reation of Web service applications is yet another complex task to add to the IT department’s list. Experience suggests it is not enough to approach Web services development armed with

Book Excerpt: Oracle9i XML Handbook

his insider’s resource, written by the Oracle XML Development Team, explains how to take full advantage of the Oracle XML Developer’s Kit (XDKs) and maximize Oracle9i’s XML-enabled features. Create and

VB-to-HTML Component

This component is intended to take valid Visual Basic source code an convert it to properly colorized HTML with procedure seperators. The input can either be a file of any

Add a slash to directory names

If you have defined a default document for a given IIS virtual directory, any link pointing to the directory will actually point to the default document for that directory. However,

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

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

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

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

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

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

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 =

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

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

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

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

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

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