
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.
When using XMLHttpRequest object, there is a way to post data in the same way that an HTML Form is posted. All you need to do is add an HTTP
The following stored procedure will restore the database. This is helpful when you need to restore the database from other applications: CREATE PROCEDURE [dbo].[sp_db_restore]@DBName varchar(60),@BackName varchar(120),@DataName varchar(60),@DataFileName varchar(120),@LogName varchar(60),@LogFileName varchar(120)
The way we have constructors for user defined data types, we also have constructors for built in data types like chat, int, float and so on. Here is a program
very once in a while there comes around a tool so useful it makes you wonder why nobody ever did it before, or why it hasn’t been a part of
The following demonstrates how to manipulate complex numbers: class Complex{ double real; double imag; Complex() { } Complex(double real,double imag) { this.real=real; this.imag=imag; } void addComplexNos(Complex comp1,Complex comp2) { this.real=comp1.real+comp2.real;
Debugging stored procedures can be a headache, but heres an easier way to trace a stored procedure’s execution: Use the PRINT statement. PRINT lets you output and analyze variable values,
his first installment of a two-part series on Microsoft Passport in ASP.NET applications discusses Passport’s basic authentication mechanism and demonstrates the use of related .NET classes. It describes the design
any professional application developers in the United States believed the U.S. IT industry that hired them would always be in need of skilled programmers and, therefore, assumed that as long
This COM-based framework provides the basis for easily building a fully functional application, by using the Engine-Collection-Class Design Pattern. It can be deployed across a Microsoft Windows 2000 network using
‘ Count how many characters of a given type are in a file’ Example:’ Dim charCount(255) As Integer’ CountFileCharacters(“c: est.txt”, charCount)’ Debug.WriteLine(“the char ‘A’ was found ” & charCount(Asc(“A”)) &
‘ Get the Url pointed by the input link (*.url) file” Example: print the Url of all the link files in the Favorites folder’ Dim filePath As String’ For Each
‘ Retrieve the drive name (label) of the specified drive’ Note: requires a reference to the System.Management assembly’ Example: MessageBox.Show(GetDriveLabel(“D”c))Function GetDriveLabel(ByVal driveLetter As Char) As String Dim driveFilter As String
‘ Retrieve the serial number of the specified drive’ Note: requires a reference to the System.Management assembly’ Example: MessageBox.Show(GetDriveSerialNumber(“D”c))Function GetDriveSerialNumber(ByVal driveLetter As Char) As String Dim driveFilter As String =
‘ Set the length in bytes of the input file’ Example:’ Dim filePath As String = “c: est.txt”‘ MessageBox.Show(“Original length: ” & New System.IO.FileInfo(filePath)’ .Length)’ SetFileLength(filePath, 50000)’ MessageBox.Show(“New length: “
et’s face it?developers are creative folk who generally like to focus on what they do best: develop code. In many ways, they are similar to master chefs who delight in
ndependent software vendors (ISV) recognize that Web Services technology is much more than a “checkbox” feature. In fact, its not a feature at all?it’s a fundamental shift in technology standards
ritten by Micah Dubinko, a member of the W3C XForms working group and an editor of the specification, this book explains the hows and whys of XForms, showing readers how
Join the DiscussionGo to this threadvb.generalDiscussions Homepage om Gow is working on a Web page in ASP/VBScript. He’s having trouble alphabetically sorting an array with state names. The array in
he wide availability of free or low-cost operating system, Web server and firewall software, and the penetration of relatively low-cost broadband service have reached the point where you can set
he Web service Extensions management console (see Figure 1) is a new feature you’ll find in the IIS 6.0 management application. This utility gives you a Control Panel-like way to
VB6’s Clipboard object has methods such as GetData, GetText, SetData, and SetText, which allow the developer to store to and retrieve data from the clipboard. VB.NET’s System.Windows.Forms.Clipboard class also has
he cornerstone of the relational database system is its multiple tables and the ability to associate those tables with one another so you can combine data from different but related
here will be times when you’ll need to hand-code your .NET Compact Framework controls, without using the drag-and-drop feature of Visual Studio .NET. For example, you may not know how
This LED (Light Emitting Diode) control displays positive long integers, and it is particularly useful for counters. It has a few simple properties that allow you to set the control’s
s a database programmer, when you don’t know where the tables and columns you need to do your job are, you’re dead in the water. You can browse through Enterprise
‘ Get an array with the name of an application’s roles’ Note: requires a reference to the COM+ Admin Type Library” Example:’ Dim roles() As String = GetComPlusAppRoles(“System Application”, “”)’
‘ Get an array with the members of an application’s role’ Note: requires a reference to the COM+ Admin Type Library” Example:’ Dim members() As String = GetComPlusAppRoleMembers(“System Application”,’ “Administrator”,
‘ Shut-down the COM+ application with the input name’ Note: requires a reference to the COM+ Admin Type Library” Example: ShutDownComPlusApplication(“MyComPlusApp”, “”)Sub ShutDownComPlusApplication(ByVal applicationName As String, _ ByVal serverName As
‘ Export the COM+ application with the input name to a MSI installer file’ Note: requires a reference to the COM+ Admin Type Library” Example: ExportComPlusApplication(“MyComPlusApp”, “C:MyComPlusApp.msi”, “”)Sub ExportComPlusApplication(ByVal applicationName
‘ Start the COM+ application with the input name’ Note: requires a reference to the COM+ Admin Type Library” Example: StartComPlusApplication(“MyComPlusApp”, “”)Sub StartComPlusApplication(ByVal applicationName As String, _ ByVal serverName As











