devxlogo

The Latest

Powerful Printing in Flash

Use Flash’s robust printing support to add print functionality to your Flash movies or Web applications. By using off-screen movie clips and ActionScripts movie clip copying commands, you can create

DisplayXmlFile – loading a XML file in a TreeView

‘ Display a XML file in a TreeView’ Note: requires Imports System.Xml’ Example: DisplayXmlFile(“employees.xml”, TreeView1)Sub DisplayXmlFile(ByVal filename As String, ByVal tvw As TreeView) Dim xmldoc As New XmlDocument() xmldoc.Load(filename) ‘

EvaluateModule – a module for evaluating expressions

‘ A module for evaluating expressions, with support for’ parenthesis and many math functions’ Example:’ Dim expr As String = “(SQR(9)^3)+COS(0)*3+ABS(-10)”‘ txtResult.Text = Evaluate(expr).ToString ‘ ==> 27+3+10 ==> 40 Imports

Build an Object-Oriented Tree Control Using JavaScript

n my last article, I demonstrated how to build an Explorer-like tree control using JavaScript. This month’s installment focuses on converting the tree control to an object-oriented structure. Such a

Microsoft Announces New Capabilities for C#, C++

November 8, 2002?Microsoft chose the venue of the OOPSLA conference, being held this week in Seattle, to reiterate what company officials called “Microsoft’s commitment to computer science” and to announce

JAAS Security in Action

More than ever before, corporations are clamoring to evaluate their security architectures and identify any gaps. The Java platform, and specifically the J2EE platform, provides some of the most robust

Access SQLXML Technology from .NET Apps

With the release of the SQLXML Managed Classes, which Microsoft shipped with SQLXML in March of this year, developers now can access SQLXML technology (XML views, templates, XPath, XQuery) from

Are You Ready for Enterprise Systems That Fix Themselves?

It is more important to understand the problem than the solution.?Albert Einstein Decades ago, engineers who wanted to build more resilient networks coined the term “self-healing system” to describe computer

RC4 Usage Errors Leave Your Data Exposed

recently read an advertisement for some Windows security software that boasted “incredible security using 160-bit RC4.” Superlatives aside, take claims like this with a grain of salt. Based on the

Manage Cross-Platform Projects with the make Utility

ong before Windows became the de facto operating system on the desktop?even before IBM released the first Personal Computer with 16KB of memory, software engineers had realized the need for

Add a Touch of Web to Your Windows Applications

mong the controls installed with VB6 is the WebBrowser control, which is nothing less than a complete browser disguised as an ActiveX control (technically, it’s a wrapper around Internet Explorer

ShowOpenWithDialog – Display the “Open with” dialog

Private Declare Function ShellExecute Lib “shell32.dll” Alias “ShellExecuteA” _ (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, _ ByVal lpParameters As String, ByVal lpDirectory As String,

The HuntErr Addin for easy error handling in VB6

HuntERR is an error-handling solution for VB6 that makes adding error handlers a one-click task. It includes VB source modules, demo application with source, VB6 Add-In with source, SQL scripts,

A command-line Object Browser that uses Reflection

‘ This code is taken from Francesco Balena’s’ “Programming Microsoft Visual Basic .NET” – MS Press 2002, ISBN 0735613753′ You can read a free chapter of the book at ‘

Set up event handlers through reflection

Reflection makes it easy to invoke a method (or assign a field or aproperty) by its name. For example, suppose you have the following classes: Class Person Event PropertyChanged(ByVal propertyName

Book Excerpt: Learn All About ”Wireless Security & Privacy”

ccording to Wireless Security and Privacy: Best Practices and Design Techniques, wireless technology?still in its infancy?affords the opportunity for proactive security that keeps pace with development. Written for wireless development

An Introduction to XQuery

Part 1: This first article explains basic XQuery concepts such as the different types of query expressions, the language elements, such as user-defined functions, and illustrates them with example queries.Part