The Latest

DevX

Getting Started with the Eclipse Workbench

he Eclipse Workbench, at the most fundamental level, is merely a platform for software development tools and provides little functionality on its own. With the appropriate plug-in components, however, it’s

DevX

Structured Error Handling in VFP 8

isual FoxPro 8.0 introduces a new error handling mechanism known as “Structured Error Handling.” This mechanism uses Try/Catch blocks to wrap sections of source code and attach the appropriate error

DevX

Creating a StatusBar Control with VFP 8

isual FoxPro 8 offers full support for themes and the XP style look. Unfortunately the Windows Common Control OCX that ships with VFP 8 doesn’t support this same look. This

DevX

Collections Are Cool!

ntil recently, Visual FoxPro developers wanting to use collections often created their own classes that were nothing more than fancy wrappers for arrays. However, in addition to being a lot

DevX

Event Binding in VFP 8

isual FoxPro developers have been using an event-based methodology for a very long time, but event handling in VFP 8 opens a new world to developers who need to “hook”

DevX

The VFP 8 XMLAdapter Class

he new XMLAdapter class in VFP 8 greatly enhances your ability to work with XML data sources, including hierarchical XML documents, such as .NET DataSets. Cathi explains how this and

DevX

Introducing the CursorAdapter Class

he CursorAdapter class is one of the most impressive accomplishments of the VFP 8 development team. It will change the way many developers relate to their various data sources. With

DevX

Member Classes Bring Flexibility

eed to define several pages in a PageFrame with different properties and settings? No problem. How about better control of grid column headers? No problem. By changing the way you

DevX

VFP 8 Feature Highlights

isual FoxPro 8 includes numerous new features that are a direct response to the requests of VFP developers. Just reading through the “What’s New” section of the documentation will take

DevX

DeleteFileAssociation – Deleting a file association

‘ Destroy a file associationSub DeleteFileAssociation(ByVal extension As String) Const SHCNE_ASSOCCHANGED = &H8000000 Const SHCNF_IDLIST = 0 ‘ ensure that there is a leading dot If extension.Substring(0, 1) “.” Then

DevX

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

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

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

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

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

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

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

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

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”,