devxlogo

We are an award-winning tech entrepreneurship website where trusted experts can provide value globally.

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.

devxlogo

Trusted for 26 years

Over 30K Articles

1M+ Readers

Expert-reviewed

10K+ Tech Terms

As seen in:

microsoft logo
business_insider_logo
wired_logo
berkley
arstechnica_logo
hackernoon

The Latest

Initialize STL Containers with Predefined Values

This task is quite common task. However, explicit insertion of values can be unacceptable in many cases?like if you need to insert a lot of values. I’ve found that it’s

Listening to All AWT Events

For some programs, it is helpful to create a listener to keep track of all the events being dispatched by the UI. This can be very useful in debugging programs.

The Object-Oriented Evolution of PHP

ew people know this, but when PHP as we know it today was being molded, back in the summer of 1997, there were no plans for it to have any

Create and Modify SQL Server Indexes Properly

Indexes are critical to smooth data retrieval and manipulation in SQL Server. They are the way foreign keys maintain relationships among themselves and the way DB pros enforce order on

Adding a Timer to Your Application

Java swing provides a Timer class to cause an action at a pre-defined rate. For instance, you could have a label that blinks at a pre-defined rate. The class has

Sending HTML and ASCII Formatted E-mails

To do this, you need the javax.mail package. It’s a part of J2EE and available from java.sun.com.Sending a simple e-mail is pretty easy: import java.util.Properties;import javax.mail.*;import javax.mail.internet.*;public class Mail {static

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,