The Latest

DevX - Software Development Resource

Who’s Who in Java Commerce

Java WalletThe Java Wallet is a family of Java products designed to enablesecure electronic commerce operations. It incorporates the Java CommerceClient, Commerce JavaBeans components, the Gateway Security Model, and JavaCommerce

DevX - Software Development Resource

Const & Efficiency

Question: Can you tell me which of these implementations is more efficient and why, assumming this function cannot be inlined and is called often? First option: int even( int &val){if

DevX - Software Development Resource

Mathmatical Functions: Decimals

Question: How can I read only from one side of the decimal in VB6? I need to get .4286 from a value of 22.4286. I also need to know how

DevX - Software Development Resource

IIS – Manipulating the Metabase

Question: I have been trying to change settings for the IIS server in order that I can set the flag to allow an out-of-process Active X EXE Server to be

DevX - Software Development Resource

Templates

Question: I’m porting a UNIX app to NT; one of the class hierarchies includes something like this: template class base{ // stuff};template class derived : public base, public base{ //

DevX - Software Development Resource

JOptionPane

Question: When creating an input dialog box with JOptionPane.showInputDialog, isit possible to have a masking character, such as the * for password input? Answer: As implemented in the Sun JDK,

DevX - Software Development Resource

Searching for a Specific Row in a Data Store

Question: What function do I use if I want to search a particular data store for the first letter of certain items? For instance, I have this list: olulekamtibookwi If

DevX - Software Development Resource

Columns ListView Control

Question: How can I insert an item into different columns? Answer: To insert data into multiple columns, you use the same command as for single columns, except that in your

DevX - Software Development Resource

Open the list portion of a ComboBox control

To programmatically open and close the list portion of a ComboBox control, all you need is sending the CB_SHOWDROPDOWN message to the control. Here is a routine that encapsulate the

DevX - Software Development Resource

Check whether a form is loaded

You can load several instances of the same form, but VB doesn’t let you determine how many forms of a given class are currently loaded. You can work around this

DevX - Software Development Resource

Don’t stop timers when a MsgBox is active

Not all developers know that Timer controls in compiled VB5 and VB6 applications aren’t stopped by MsgBox statement, so the Timer’s Timer event procedure is regularly executed even when the

DevX - Software Development Resource

Registering DLLs in DHTML Applications

Question: I’ve just started using DHTML in Visual Basic 6.0 and have encountered a few glitches. When using ActiveX DHTML, where does the compiled DLL file have to be stored

DevX - Software Development Resource

Place Image in an Absolute Position

Question: I’ve been using the Microsoft ActiveX image control to place my images in absolute positions on my Web page. However, I have run into problems with this image component

DevX - Software Development Resource

The Advantages of XML Over CSV

Question: What is the advantage of XML over say, a comma delimited file? If you’re using it for data transfers between platforms, I would think that always having to explicitly

DevX - Software Development Resource

Creating Images on the fly with ASP Pages

One of the impressive features of Active Server Pages is the ability to deliver fresh, active content in direct response to user input. In addition to creating responsive text, you

DevX - Software Development Resource

Don’t let PhotoShop Hijack your ASP Extensions

Sometimes it seems like there aren’t enough file extensions to go around Related Posts Red Hat Updates Developer Toolset, Software CollectionsInnovative N2116 Solid-State Electrolyte Reduces Lithium UseLightweight OWIN OAuth2.0 Authorization

DevX - Software Development Resource

Execute DOS and Windows Programs from ASP

Although it is usually more efficient to use a Dynamic Link Library (DLL) that meshes well with the Internet Information Server (IIS) and Active Server Pages (ASP) environment, you may

DevX - Software Development Resource

Alpha Resource IDs can Spell Trouble

Resource files are a great way to store text strings and images, but beware: Use of a resource file can override the property setting for your application’s icon. When Windows

DevX - Software Development Resource

Align Text on a Command Button

If you’ve ever wanted to align text on a command button and found you can do it only by using spaces in the caption, there are a couple of constants

DevX - Software Development Resource

Retrieve Localization Strings

Use this API function wrapper to retrieve localization and personalization information: Private Declare Function GetLocaleInfo Lib _ “kernel32” Alias “GetLocaleInfoA” (ByVal _ Locale As Long, ByVal LCType As Long, ByVal

DevX - Software Development Resource

Learning C++ From Scratch?

One of the most frequently asked questions I receive is: “How can I learn C++?”. First, remember is that C is not a pre-requisite for learning C++. In fact, as

DevX - Software Development Resource

Give Meaningful Names to Magic Numbers

“Magic numbers” are arbitrary constant values that indicate array bounds, maximal number of open files, the size of a memory page, and similar environment and program-specific units. Instead of using

DevX - Software Development Resource

Using Command Line Arguments

You can directly pass arguments to a program. For this purpose, you have to declare these arguments in the parameter list of main(): int main (int argc, char ** argv){}

DevX - Software Development Resource

Use Explicit Access Specifiers

C++ provides default access specifiers when you don’t use spell them out explicitly, as in the following examples: struct Employee{ /*..*/};class Manager : Employee //implicit public inheritance{ int rank; //implicitly

DevX - Software Development Resource

Guidelines for Overloading the + Operator

The built-in + operator is a binary operator that takes two arguments of the same type and returns the sum of its arguments without changing their values. In addition, +