The Latest

DevX - Software Development Resource

Use Oracle and Triggers to Secure Table Data

Ever deleted some tables accidently and had to waste your time doing them all over again? Oracle, in conjunciton with Triggers, provides an easy solution to this problem. First, create

DevX - Software Development Resource

The generate() Algorithm

You can use the generate() algorithm to fill up a sequence container with values that you generate by repeatedly calling a function. This algorithm takes three arguments. The first two

DevX - Software Development Resource

Deselect All Items in a ListView Control

You must set Checked property for each ListViewItem to False to clear all the checked items. ‘Declare the ListViewItemDim lvItem As ListViewItem’ Change each item’s Checked property to FalseFor Each

DevX - Software Development Resource

AspectJ in Practice: Reap the Benefits of Modularity

spect-oriented programming (AOP), a contemporary programming technology with a large number of supporters, is in essence an improved version of object-oriented (OO) programming technology that enables program objects to be

DevX - Software Development Resource

Make Text Scroll Vertically

Use the following code to make text scroll vertically: Vertical ScrollerThis is Vertical Scrollerwww.devx.com Related Posts 5G River-Cleaning Robots Unleashed in SingaporeCloud and Hybrid Application Lifecycle Management with OneOpsHow To

DevX - Software Development Resource

Use GDI to Draw on Top of Other Windows

Have you ever wanted to draw or write something on top of another window using GDI? It can be done by obtainig a DC to the desktop window and then

DevX - Software Development Resource

Posting Forms Programmatically

Posting forms in Java is easy. All you need is just a HTML code snippet. Here’s an example: Your Email : * Message : *

DevX - Software Development Resource

A Multiple Getter/Setter Implementation

Suppose you’ve got a user interface class with many user options that you need to set/get at the same time. Here’s one way to implement this: class CUI{public: CUI() :

DevX - Software Development Resource

How to Write, Use, and Test a Singleton Class

class Mysingleton{ private Mysingleton objsingleton = null; private Mysingleton() { } //single way to get its instance. public Mysingleton getInstance() { if(objsingleton == null) { objsingleton = new Mysingleton(); }

DevX - Software Development Resource

Get Separate Records for the Comma Delimited Values of One Field (TSQL)

Use this code: if object_id(‘tblTemp’)0 drop table tblTempCreate Table tblTemp (Field1 varchar(5),Field2 Varchar(100))insert into tblTempselect ‘C1’ Field1, ‘Value1,Value2’ Field2Unionselect ‘C2’ Field1, ‘Value3,Value4’ Field2 if object_id(‘tblTempOutPut’)0 drop table tblTempOutPutselect * into

DevX - Software Development Resource

Getting Started with Modeling Maturity Levels

odeling, and especially UML, is becoming more and more important in software development. After you’ve participated in a number of software projects, you will realize that developers use models in

DevX - Software Development Resource

Remove Margins from the Browser

Suppose you want to put the contents of a page right up against the edges of the browser’s viewport. While you can force this using absolute positioning, there is a

DevX - Software Development Resource

Use Oracle Obfuscation to Encrypt Data Securely

Sometimes you need to encrypt certain data stored in your database?data like passwords and other condfidential information. Oracle Obfuscation is a technique in which data is encrypted or decrypted using

DevX - Software Development Resource

X12 EDI: It’s Not Dead Yet

n an article published last week on DevX entitled “Why EDI Must Die“, the author, Jeremy Jones, gives several reasons why he believes XML is superior to the X12 format

DevX - Software Development Resource

A Taste of XQuery for the DBA

n all the excitement about SQL Server 2005 (formerly codenamed Yukon), most people tend to focus on the .NET integration. But the native support for XML might turn out to

DevX - Software Development Resource

Data Access with Microsoft Application Blocks

icrosoft recently launched the Microsoft Patterns and Practices section of their Web site, offering several complete architectural and design application blocks, complete with source code, that you can use in

DevX - Software Development Resource

Write Eclipse JUnit Tests in Jython

he Python language has a few characteristics that make it great for unit testing: It integrates very well with the platform it runs on, so you can write tests that

DevX - Software Development Resource

Why EDI Must Die

lectronic Data Interchange (EDI), a data format used for inter-business messaging, has been partially responsible for reducing costs and increasing productivity in the manufacturing and services industries. Over the years,

DevX - Software Development Resource

Draw a Rectangle Around the Toolbar Button

The following code draws a rectangle around the toolbar button when a user moves their mouse over it. This looks better if the Appearance property of the toolbar is set

DevX - Software Development Resource

Using the ostream_iterator()

The ostream_iterator() is useful for reading the elements of a container to the standard output or to a file. However, because this iterator works in conjunction with STL algorithms, it

DevX - Software Development Resource

Unit Testing in .NET

ou could create a new Windows Forms application using a default form. Then you could add several controls, a lot of code to instantiate your objects and call methods, and