devxlogo

We are an award-winning tech entrepreneurship website where trusted experts can provide value globally.

Since 1998, DevX has helped people start businesses, build websites, and provide enterprise technology to people globally. Interviewing the likes of Microsoft’s co-founder, Steve Ballmer, the publication brings comprehensive, reliable, and accessible insights to the Internet.

devxlogo

Trusted for 26 years

Over 30K Articles

1M+ Readers

Expert-reviewed

10K+ Tech Terms

As seen in:

microsoft logo
business_insider_logo
wired_logo
berkley
arstechnica_logo
hackernoon

The Latest

Common Mistake in Installing JavaBeans

When you’re using the Palette Properties dialog box to add new JavaBeans components, there’s common to make a mistake when installing them from a package. On the Add From Package

Preparing an ActiveX Control to be Used in VJ++

A Java application accesses an ActiveX control via a set of .CLASS files. Preparing a control for use with VJ++ is a two-step process. First, you register the control using

The Color Constructor

When you construct a Color object in Java, you can supply the arguments in three ways. The most familiar way is to provide three int values each in the range

Avoid Copying Immutable Objects Excessively

One of the most common mistakes that most less-experienced Java programmers make is the unnecessary copying of immutable objects. The problem is compounded by the fact that it is not

Stacks to Strings Conversion

Sometimes it is useful to be able to capture the output from a stack dump, redirect it to a string, and then, perhaps, to a window. Here is an example

Querying Your Applet’s Browser

Sometimes you write an applet that depends on a Microsoft Internet Explorer-specific extension which is not common to all browsers. How do you find out if the browser that’s running

A Better Way to Retrieve Row and Column Data

Instead of creating a GridControl to retrieve row and column data from a table into a hash table, use a variant, as shown: variant = new Variant();for (row2get=0; row2get <

Optimizing Java Code

Developers should realize that only a few optimizations are supported by most Java compilers. That most Java compilers do little when it comes to optimizing code may be surprising, but

Using Println Statements in the Debugger

Println statements are very useful for debugging applications, but do you view the output when an applet is running in the debugger? By default, when you create a Visual J++

Message Lost in the Information Store

Question: A user tried to move an e-mail from the Inbox to another folder, and then clicked on his mailbox. The message disappeared from the Inbox, but he couldn’t find

Creating Public Folders

Question: The department I am in would like to have a kind of “posting” center for questions or a kind of “discussion thread” area only accessible to our department. We

Mailbox Names with Different Domains

Question: I have a problem creating the same mailbox names with different domain names at one server (one site). How can I go about doing that? Or can I only

Visual InterDev Hangs

Question: When connecting to an Informix database using Visual InterDev and SCO Retriever 32 ODBC, I can see tables and column names but when I try to look at data,

Building Crosstabs

Question: How do I build crosstabs in Visual FoxPro? Answer: Visual FoxPro has a wizard that helps you create a Crosstab query. From the Wizards submenu on the Tools menu,

Moving from Fox for DOS to Visual FoxPro

Question: I would like some Visual FoxPro application as a starting guide in VFP 6. I’m finding it hard to add commands using a form. For example, I want to

Removing Characters from Strings

Question: I need to delete certain characters from a string, particularly a money field in the format 99,999,999.99. Is there an easy way to delete the commas and period from

DECODE Function

Question: As I understand it, the DECODE function or procedure is available in XPS 8.3 and IDS 2000 9.2 or above. Is it available in 7.2x? If not, is there

Web Databases and Connectivity

Question: Define a Web database, please. What are the advantages and disadvantages? How do I connect different software to the Web? Answer: A Web database is any database that you

MTS Queue Backing Up

Question: When e-mail messages are not being delivered and the MTA queue is backed up and all the services is running, what could be another step I can take to

Displays Grid Fields Vertically

Question: How do I display the rows of a table’s contents vertically? I want to list the tracks of a CD, LP, etc. from their table at the bottom of

Informix Stored Procedures to VB

Question: I am returning a resultset from an Informix Stored Procedure to VB6 via ODBC and ADO. Is there any way of returning the field names? At this point I

Getting the Address of a Function

Question: In VB, I can use the function AddressOf. It is the return address of function WNDPROC. Is there a similar function in PowerBuilder? Answer: In PowerBuilder you cannot get

Moving Mailboxes Correctly

Question: We have set up a second Exchange server within our site and moved 170 mailboxes over to it. However, it does not appear that the mailbox data has transferred.

Disabling Function Keys in an Application

Question: How do I disable function keys in an application? Answer: You can disable function keys by using the ON KEY LABEL command. Putting an asterisk (*) after the key

Porting from Oracle to Informix

Question: We have an existing application, which has been developed using ASP. The database being used is Oracle 8. Now, for a different customer, we want to port this application

Patch for Divide-By-Zero Error

Question: We are getting a divide-by-zero error running FoxPro for Windows 2.5 on a Novell server on the network on an NT workstation. Can I use the patch in version

Building a Text Editor, Part I

n answering questions for Ask the VB Pro, I’ve been noticing a lot of the same types of questions. These questions primarily relate to basic operations like opening and writing