The Latest

DevX

Write to Multiple Targets Simultaneously

This is helpful, for instance, if you’re error logging to the file and body of an e-mail. Create a new subclass of OutputStream called TeeOutputStream like this: package be.marble.io;import java.io.*;public

DevX

Negative Numbers Represented in C++

You probably know that integers are represented in binary–in base 2. This is pretty straightforward for positive numbers, but it means you must choose an encoding for representing negatives. The

DevX

CodeWarrior Wireless Studio Soothes Portability Woes

‘ve had a long and happy history using the MetroWerks CodeWarrior IDEs for both Mac and Windows development; they’ve helped me throughout college for those programming projects occasionally thrown at

DevX

A Gosling-Eye Glimpse of Java’s Future

avaOne alumni know that if you want to get a true geek’s-eye glimpse of the technological future, try to get close to James Gosling. This year Gosling, who is a

DevX

FreeThreader component for VB6

VB6 does not natively support free threading, but with this ActiveX library you can finally create multiple threads and make them communicate, write delegate functions (similarly to VB.NET) and use

DevX

DisplayExceptionInfo – Displaying error information

‘ A reusable routine that displays error information’ Note: requires Imports System.ReflectionSub DisplayExceptionInfo(ByVal e As Exception) ‘ Display the error message. Console.WriteLine(e.Message) Dim st As New StackTrace(e, True) Dim i

DevX

ClipboardGetText – Retrieving the text in the clipboard

‘ Get the text in the clipboardFunction ClipboardGetText() As String Return CStr(Clipboard.GetDataObject().GetData(DataFormats.Text))End Function Related Posts Apple watchOS 11 discontinues support for three modelsHow AI is Shaping Digital TransformationOracle Unveils Project

DevX

Take Charge and Initialize Your Own Data

nlike most other programming languages, C++ by default doesn’t initialize automatic variables. Consequently, uninitialized auto variables and aggregates have an indeterminate value. Due to insufficient familiarity with the correct syntax

DevX

VB 2 HTML ActiveX converter

This component is intended to take valid Visual Basic source code an convert it to properly colorized HTML with procedure seperators. The input can either be a file of any

DevX

Well-structured XML Goes Cosmopolitan

t is sometimes challenging to create and organize XML documents. This is even more true if the document content needs to be presented in several different languages. It creates unwanted

DevX

General-purpose Water Dissolves XML Complexity

XML is not all it could be. Despite all its promise for free data exchange among disparate applications, Web application developers still contend with XML’s shortcomings: it’s too verbose, it’s

DevX

Mozilla Firefox Raises the Browser Bar

or the past several years, browser development for Windows has been more or less stalled. Sure, there have been under-the-hood improvements; but the basic browsing feature set has remained nearly

DevX

Dynamically Change the Year in Your Source Code

This little bit of code is great for doing stuff like “COPYRIGHT 1998?(present year).” It saves Webmasters from having to cull through their source code looking for the year (every