The Latest

DevX - Software Development Resource

International Test for Illegal Characters

Windows has the solution: the IsCharAlphaNumeric function, defined in User32.dll. This function uses the currently defined locale when performing comparisons, thereby allowing full use of accented characters. This sample demonstrates

DevX - Software Development Resource

Explicit Constructors

A constructor that takes a single argument is, by default, an implicit conversion operator, which converts its argument to an object of its class, the keyword “explicit” can be placed

DevX - Software Development Resource

The WordHelper class

WordHelper is a C# class that helps working with MS Word 2000 documents and simplifies the programmatic construction of a Word document. It has methods to launch a Word instance,

DevX - Software Development Resource

InputBox – A .NET replacement for this VB6 function

‘ Create an InputBox like the one of VB6. You can define the dialog’s title,’ question and default value.’ Example: MessageBox.Show(InputDialog.InputBox(“Type your name:”, “Test”,’ “Marco”))Public Class InputDialog Inherits System.Windows.Forms.Form#Region “

DevX - Software Development Resource

Don

Have you ever tried to change the BorderStyle, HideSelection, MultiLine, ScrollBars, WordWrap and TextAlign properties of a TextBox, or the ComboBox Related Posts Neo-Tokyo Embraces Efficient Smart HomesWorking with Multiple

DevX - Software Development Resource

Skipping columns when tabbing on a DataGrid

It happens quite often that you have a DataGrid with hidden columns (with width = 0), because you need their values but don’t want to show them to the user.

DevX - Software Development Resource

JavaScript: Playing the Numbers Game

f you’re a Web developer, you may well have written something like the following input tag, which accepts a number that a user types in. Unhappily, you’ve probably also experienced

DevX - Software Development Resource

Borland C#Builder Is a Capable Alternative to VS.NET

orland’s C#Builder is an Integrated Development Environment (IDE) that provides extensive support for building .NET applications. Despite its name, C#Builder doesn’t support only C#, it also supports VB.NET in its

DevX - Software Development Resource

Can’t Anyone Write Good SQL These Days?

hy are there so many Java database access protocols? There’s JDBC, JDO, EJB, POJO, AOP methods, etc. The list goes on and on. It makes me wonder: What is the

DevX - Software Development Resource

Persistent session state

In ASP.NET 1.0 you have the option to maintain the session state on an external process, in SQL Server, by setting the mode attribute of the sessionState tag in web.config

DevX - Software Development Resource

Referencing external config files from Web.Config

Anybody programming with ASP.NET knows that you can store custom application’s settings in the web.config file, under the section, and programmatically read the values through the ConfigurationSettings class. When the

DevX - Software Development Resource

Creating a scrollable DataGrid

When you create a DataGrid, it would be often good to specify its height, and have the DataGrid show a scrollbar if the content is longer than the given height.

DevX - Software Development Resource

Input validation in ASP.NET 1.1

ASP.NET 1.1 automatically validates input posted to the server against a list of potentially dangerous strings (the values are hard-coded, unfortunately, it would have been nice to be able to

DevX - Software Development Resource

Jazz Up Your JTables with Reusable Classes

ome time ago, I was faced with a tricky user interface problem: develop a suite of real-time Swing stock displays that flash and color themselves according to the data on

DevX - Software Development Resource

Enable Logical Object Representation in Your Database

he relational database management system (RDBMS) is based on the relational model, which is simply represented through the relations of rows and columns in two-dimensional tables. Meanwhile, the object-oriented DBMS

DevX - Software Development Resource

AddComPlusApplication – Creating a new COM+ application

‘ Create a new COM+ application, and return True if the operation is successfull’ Note: requires a reference to the COM+ Admin Type Library” Example: AddComPlusApplication(“MyComPlusApp”, “”)Function AddComPlusApplication(ByVal applicationName As