The Latest

DevX - Software Development Resource

Generate .NET Code in Any Language Using CodeDOM

he .NET framework is replete with nooks and crannies of functionality that are amazingly powerful, but sorely underdocumented. One of those lesser-known capabilities lies in the CodeDOM namespace. This namespace

DevX - Software Development Resource

Activate Your Flash Animations with ActionScript

he last lesson in this series introduced you to Button symbols and showed how to use them to create interactivity via ActionScript, Macromedia’s programming language for Flash MX. In this

DevX - Software Development Resource

Making Use of the XML Data Source Object

he XML Data Source Object (DSO) is a Microsoft ActiveX control that’s been built into Microsoft Internet Explorer since version 4. This object allows you to extract content from an

DevX - Software Development Resource

Implement Secure .NET Web Services with WS-Security

Web Services Enhancements 1.0 for Microsoft .NET (WSE) provides the functionality for Microsoft .NET Framework developers to support the latest Web services capabilities. WSE is the cornerstone of the GXA

DevX - Software Development Resource

PlayAVIVideoOFF – Playing the audio track of an AVI file

Shared Function _ GetShortPathName(ByVal lpszLongPath As String, _ ByVal lpszShortPath As System.Text.StringBuilder, _ ByVal cchBuffer As Integer) As IntegerEnd Function’ Play the audio track of an AVI file.’ fileName is

DevX - Software Development Resource

ExecuteMCICommand – Executing a MCI command

Shared Function _ mciSendString(ByVal lpstrCommand As String, ByVal lpstrReturnString As _ String, ByVal uReturnLength As Integer, ByVal hwndCallback As Integer) As _ IntegerEnd Function’ helper routine; executes a MCI command

DevX - Software Development Resource

IsSoundCardSupported – Returns whether a sound card is supported

Shared Function _ waveOutGetNumDevs() As IntegerEnd FunctionFunction IsSoundCardSupported() As Boolean Return waveOutGetNumDevs() >= 1End Function Related Posts Should Log Instances Be Static or Not?Super micro computer stock jumps 188%Mastering Bulk

DevX - Software Development Resource

PlayWAV – Playing a WAV file

Const SND_ASYNC = &H1 Shared Function _ PlaySound(ByVal lpszName As String, ByVal hModule As Integer, _ ByVal dwFlags As Integer) As IntegerEnd Function’ Play a WAV file.” fileName is a

DevX - Software Development Resource

Opening and closing the CD door

Shared Function _ mciSendString(ByVal lpstrCommand As String, ByVal lpstrReturnString As _ String, ByVal uReturnLength As Integer, ByVal hwndCallback As Integer) As _ IntegerEnd FunctionSub OpenCDDoor() mciSendString(“Set CDAudio Door Open Wait”,

DevX - Software Development Resource

Use the CASE Statement in a SQL SELECT Clause

SQL Server provides a mechanism for returning different values in a SELECT clause based on Boolean conditions: the CASE statement. This statement resembles Visual Basics Select Case statement. The SQL

DevX - Software Development Resource

Book Excerpt: JavaScript & DHTML Cookbook

he JavaScript & DHTML Cookbook is all about adding value to the content of a Web page. The book focuses on practical and sensible applications of scripting, rather than flying

DevX - Software Development Resource

Review: ASP.NET Web Matrix

eb Matrix is a freeware tool that has been created with the help of some ASP community leaders. Despite its shortcomings, Active Server Pages (ASP) is one of the most

DevX - Software Development Resource

A Not-So-Quick Tour of the Web DataGrid Control

ata-bound controls play a key role in the development of ASP.NET applications. Data-driven controls allow you to associate their whole interface, or individual properties, with one or more columns of

DevX - Software Development Resource

Store XML in C++ Source Code

XMLwhen it is in ASCIIcan be stored as any other literal in one line, but it’s not very readable. Use the following macros to store XML (or any other string

DevX - Software Development Resource

Introduction to JavaScript and DHTML

avaScript is a powerful yet often underused feature of most browser-based applications. Commonly, JavaScript is relegated to simple form validations, but this is not the only capability of JavaScript. In

DevX - Software Development Resource

We Are Our Environment

n case you haven’t noticed, programmers are sort of funny people to work with. I was talking with a friend the other day and he said that some of the

DevX - Software Development Resource

A Better Way to Stop an IP Address From Accessing Your Site

A more elegant approach: use an associative array. If you have more addresses to block, put them together (in this example, using CGI and Perl): #!perlmy %block_ip=(‘172.56.260.71’=>’bad.org’,’172.56.260.72’=>’evil.org’,);my $remote = $ENV{REMOTE_ADDR}

DevX - Software Development Resource

The Two Faces of .NET

he .NET platform has a new and fresh feel to it. Prior to .NET we had reached a point of technology and tools mish-mash that has been almost prohibitive to

DevX - Software Development Resource

Getting Started with ASP.NET

efore we can dive in and begin building Web pages with ASP.NET, I want to introduce a few topics and new terminology. .NET FrameworkMicrosoft designed classes in the .NET Framework

DevX - Software Development Resource

What’s New in Visual Studio .NET 1.1?

his article assumes you are familiar with Visual Studio .NET 1.0 and it presents only the new features of the IDE (Integrated Development Environment) of Visual Studio .NET 1.1, for