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

DevX - Software Development Resource

Display Two Fields

Let’s say you want to bind your listbox to a recordset, but you also want to display two fields concatenated together, such as “Jones, Barbara.” You can do this by

DevX - Software Development Resource

Encrypt a String Easily

This quick and dirty encryption/decryption function takes whatever string you pass it, assigns it to a byte array, Xor’s each byte by a constant, then returns the string. The offsetting

DevX - Software Development Resource

Create a Remote Object Without Extending UnicastRemoteObject

When using Java’s Remote Method Invocation (RMI), you may have defined a server class that extends java.rmi.server.UnicastRemoteObject. Extending UnicastRemoteObject makes your class capable of handling incoming calls, and is acceptable

DevX - Software Development Resource

Avoid Gigantic Classes

Several small and specialized classes are preferred to a single bulky class that contains hundreds of member data members and member functions. More than once I’ve seen programmers extending a

DevX - Software Development Resource

Specifying Position When Adding Components

The java.awt.Container class provides a number of different overloaded versions of the add() method which are used to add components to the container. The integer value specified with the add(Component,

DevX - Software Development Resource

Keep Indexes Separate From Data

You can boost your performance greatly by separating indexes and data onto different physical disks, which allows both the index and data to be accessed at the same time. However,

DevX - Software Development Resource

Counting the Occurrences of a Substring

VB6 has introduced the Replace function, which replaces all occurrences of a substring with another substring. Although this function is useful in itself, you can also use it in unorthodox

DevX - Software Development Resource

Maximum number of controls on a form

Question: VB limits the number of controls on a form to 255. How do you get around this without dynamically creating and displaying them or frames that contain them? Basically,

DevX - Software Development Resource

Saving VB 6 Files for VB 5

Question: The computer lab where I’m taking a course has Visual Basic 6.0 now. Is there some way to save a VB 6.0 project so that it will be compatible

DevX - Software Development Resource

Unloading Application from Memory

Question: I have written an application that uses both DAO and OLE calls. This is a form-based application that sits on top of a CAD package. Sometimes when a user

DevX - Software Development Resource

Menu Security

Question: I am building a security program for a high school in my area. I need a way to allow the teacher to select menus in programs she does not

DevX - Software Development Resource

Backward compatibility

Question: Is it possible to convert a VB 6 file to a VB 4 or 5 file? Answer: Sorry, I can’t tell you exactly how to do it. But I

DevX - Software Development Resource

Accessing graphics file from VB

Question: I need to store thumbnail graphics in an Access database (as an OLE object?) and be able to display the columns including the graphic in a table or grid.

DevX - Software Development Resource

How to use Properties

Question: I’m trying to set and save user preferences for an application to a local file. The java.util.Properties class looks like what I want, but I don’t understand how to

DevX - Software Development Resource

Object Oriented Databases

Question: How well can Visual FoxPro be a front end for object-oriented databases? Are there any in particular that work well with VFP? Answer: I am not familiar with any

DevX - Software Development Resource

Getting the active window

Question: I am using VC++ 5.0 to develop applications based on Windows 95. I want to get the HWND of the active window, which is receiving the keyboard or mouse

DevX - Software Development Resource

Smart Pointer

Question: Could you give me an exact definition of smart pointers, and how does a reference counting smart pointer work? Answer: I don’t believe there is an exact definition, since

DevX - Software Development Resource

Versions 5 and 6

Question: Can you have both versions 5 and 6 of FoxPro installed and make applications that work with either versions 5 or 6? I want to make an app for

DevX - Software Development Resource

MFC / Event Driven-Programming

Question: I’ve written a program using MFC that uses toolbars. I have an event that I want to change the state of some of the toolbar buttons (disable them, to

DevX - Software Development Resource

Bringing another application to the foreground

Question: How can I bring an open application to the foreground (that is, move the PowerBuilder app back a layer). Answer: To bring another application to the front, you will

DevX - Software Development Resource

Performance

Question: I have two Visual FoxPro applications (App1 and App2) running in the same computer. App2 runs every 30 minutes. When App2 runs, App1 is slow because App2 consumes lots

DevX - Software Development Resource

Access UserControl.left and UserControl.top

Question: How can I access the usercontrol’s left and top properties from within the user control? Answer: Certain standard properties such as top and left are provided to a control

DevX - Software Development Resource

ADO won’t work in VB6

Question: What is wrong with this picture? Private Sub cmdIXEDMtest_Click() Dim con As New ADODB.Connection Dim rs As New ADODB.Recordset Dim s As String Dim constr As String On Error

DevX - Software Development Resource

SQL Server scripts in VB 6

Question: I have several SQL Server scripts that either CREATE or RUN stored procedures in a SQL Server database. I need to run these files (which I have in .txt

DevX - Software Development Resource

Data Corruption

Question: I have a table where after an import from an ASCII, I see some funny characters in some fields. After using asc(), I show that the characters where the

DevX - Software Development Resource

Header Records

Question: I am using Visual FoxPro 5. Is it possible when exporting a table to a text file to have the field names exported on the first line of the