The Latest

DevX - Software Development Resource

Hosting .NET Controls in Java

any organizations have applications already written in Java; but applications often aren’t static?they need constant attention and modifications to remain productive. When it’s time to upgrade, rather than rewriting the

DevX - Software Development Resource

Calling Java Classes Directly from .NET

t’s a fact that most production environments now use a mixture of both Java and .NET, despite all the partisan disputes over which side should “win.” To be prudently responsible

DevX - Software Development Resource

Connecting CORBA to .NET

ORBA, the acronym for Common Object Request Broker Architecture, is a widely used communications model for building distributed (multi-tier) applications that connect both cross-platform and cross-language clients to server-based services.

DevX - Software Development Resource

Funk Up Your Forms with Fading

I find this particularly useful in an MDI environment where you don’t want to keep switching forms to read information?just make the front form transparent to read the one behind,

DevX - Software Development Resource

Creating and Managing Global Variables

Sometimes, you can’t avoid declaring global variables in C++. However, should you prefer not to mix C++ with C code techniques, try the following: Create a global class and add

DevX - Software Development Resource

Get Details of the Aggregated Data

Say you want to get the latest processes running on Microsoft® SQL Server and their time, hostname, and the username. The following query retrieves this data: Use MasterSelect SysPro1.program_name,SysPro1.login_time,SysPro1.MemUsage,SysPro1.Hostname,SysPro1.Hostname,SysPro1.nt_domain,SysPro1.nt_usernameFrom sysprocesses

DevX - Software Development Resource

Register ActiveX Files Using the Mouse

Do you find yourself constantly registering and unregistering ActiveX .exe, .dll, .ocx, or .olb files? This script allows you to do so with just a mouse click. Here’s how to

DevX - Software Development Resource

Fatten Up Your Java UIs with JGoodies

erhaps the single biggest challenge in writing Java applications is dealing with UI issues. Regardless of the application’s power and flexibility, people will always want it to look familiar?to look

DevX - Software Development Resource

XML 1.0 Superset Makes XML Concise

Because XML was not designed for data, it has serious ambiguities and constraints. These limitations are hard for many to understand because most articles and books never address them. A

DevX - Software Development Resource

Use an API Function to Limit the Entry of a Textbox Control

First, place the function ischaralpha in the proyect. In this example it’s in the general declarations section of the form: Private Declare Function IsCharAlpha Lib “user32” Alias “IsCharAlphaA”(ByVal cChar As

DevX - Software Development Resource

Binary File Copying

Use this function for binary file copying. Call it to copy files of any type?executables, images, not just text files. The argument infilename represents the (full) path to the original

DevX - Software Development Resource

Integrate Your Inventory System with the eBay SDK

f you’re involved in creating applications for manufacturing or retailing organizations, unless those businesses are the size of roadside taco stands, you probably already have some kind of inventory management

DevX - Software Development Resource

A Developer’s First Look at Web Parts

rom the end user point of view, Web Parts provide customization tools that affect the appearance and content displayed on a workspace. Web Parts empower end users to design their

DevX - Software Development Resource

Introducing Microsoft Windows SharePoint Services

he much-anticipated release of Microsoft Windows SharePoint Services is not far away. This is the successor to SharePoint Team Services, and the changes go beyond small enhancements. In the new

DevX - Software Development Resource

Using Smart Tags in Office 2003

f you developed smart tags in Office XP, you’ll be interested in the changes in Office 2003. Smart tag technology links text to resources that provide relevant information useful in

DevX - Software Development Resource

Introduction to Microsoft Office InfoPath 2003

t’s Monday. After arriving at the office, you fill out last week’s timesheet (Microsoft Excel), your expense report (a handwritten form), and your project status report (Microsoft Word). When you

DevX - Software Development Resource

Working with Microsoft Office Word 2003’s XML

he .doc file format that is still present in Word 2003 is essentially a proprietary binary format; sadly, .doc files are difficult to extract information from. By saving documents in

DevX - Software Development Resource

Expand Your VB6 Printing Repertoire—Part I

Figure 1. Printing and Previewing Plain Text: Here’s the main form of the TextPrinting Project in Part II of this series, along with the print preview form from the same

DevX - Software Development Resource

WSE 2.0: Get Your .NET Web Services Security Up to Spec

n October 2003, Microsoft announced the technical preview of its Web Services Enhancements for .NET (WSE) 2.0 toolkit. This release implements some of the new Web Services Architecture (WSA) specifications

DevX - Software Development Resource

GetCurrentMethodName – Retrieving the name of the current method

‘ Return the name of the method that calls this function.’ The function is useful for logging purposes, for example.” Example:’ Private Sub Button4_Click(…) Handles Button4.Click’ MessageBox.Show(GetCurrentMethodName()) ‘ => Button4_Click’

DevX - Software Development Resource

The SystemInformation Class

System.Windows.Forms.SystemInformation is a little known class that exposes a number of static properties that return information about many system settings, such as: Icon and cursor size (IconSize and CursorSize properties)

DevX - Software Development Resource

GetRandomColor – Generating a random color

‘ Return a random color’ Example: Me.BackColor = GetRandomColor()Function GetRandomColor() As Color Dim rand As New Random Return Color.FromArgb(rand.Next(0, 256), rand.Next(0, 256), rand.Next(0, _ 256))End Function Related Posts Top Web