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

Aligned Columns in java.awt.List

You can use, or extend, java.awt.List to create a simple multi-column list. In order to do so, you need to use a fixed character width font set like Courier. Suppose

DevX

Special Folder Path

Question: I want to find the path to the Startup special folder. How can this be done within a VB application? Answer: It takes a couple of steps, but is

DevX

Save Inputted Data From a Form as a CSV File

Question: How do I get all the inputted information from an HTML form and save it to my server as a CSV (comma-separated values) file which updates itself? Answer: If

DevX

Running Stored Procedures

Question: In the Tastrade sample framework and application that ships with Visual FoxPro, I only see examples of running stored procedures in a VFP database from a rule or validation

DevX

View Information Stored in Type Libraries

You can use this method to view all the CoClasses, and Interfaces present in thetype library. In order to run this tech tip you need following things:(a) VB5 or VB6(b)

DevX

Adding Records

Question: What is the best (fastest) method to add records to a SQL 7 database using VB and ADO? I am currently using the recordset methods and it could take

DevX

Empty Numeric Field

Question: I have a numeric data field where zero is a valid value. When a number has been entered and then it is deleted, I want it to become blank

DevX

Dynamically Create Reports

Question: Using Visual Basic 6.0, I created a reference to a HTMLDocument object. I built a basic HTML page template and displayed it within a Web browser control on a

DevX

Cursor Customization

Question: I can set the cursor to a variety of stock cursors (e.g., HAND_CURSOR)but would like to use my own images to extend the availablecursors. Is this possible? Answer: JDK

DevX

Creating Remote Views

Question: How can I make a form that accesses and modifies SQL databases the same way I do with a .dbf database? Answer: You can accomplish what you need by

DevX

Destructors

Question: In Java, how do I achieve the same functionality which is provided byclass destructors in C++? Is there a destructor method in Java? Answer: Java does not possess the

DevX

Modify the CSS Clip Property in a DIV

Question: How can I change the values of the Cascading Style Sheets (CSS) clip property after the DIV is created? Answer: For the current releases of Navigator and IE (IE

DevX

C++ abstract classes

Question: What are Abstract Classes? Please explain with an example. Answer: An abtract class has at least one pure virtual member function. A pure virtual member function is a non-implemented

DevX

Constant Pointer

Question: Can you expalin the difference between the following statements in some examples and when do we need them: const char *ptr; //char *const ptr; // Answer: The following statement:

DevX

Designing XML Objectively

Question: I am having problems designing my XML doc. I’d like togeneralize it using common structure names but it appears that the DTD/Schemafor it can’t fully describe it. Here is

DevX

Grid Disappears

Question: I am calling one form from another. But after working in the called form, when I come back to the calling form, the grid that was there in the

DevX

VolumeLabel – Read the label of a disk volume

‘ Return the volume label of a disk’ Pass a null string for the current diskFunction VolumeLabel(drive As String) As String Dim temp As String On Error Resume Next temp

DevX

GetDiskFreeBytes – Determine number of free bytes on disk

Private Declare Function LoadLibrary Lib “kernel32” Alias “LoadLibraryA” (ByVal _ lpLibFileName As String) As LongPrivate Declare Function GetProcAddress Lib “kernel32” (ByVal hModule As Long, _ ByVal lpProcName As String) As

DevX

Using SQLMAINT.EXE Command-Prompt Utility

You can use SQLMAINT.EXE command-prompt utility to perform routine database maintenance activities. It can be used to run DBCC checks, to dump a database and its transaction log, to update

DevX

Correctly Defining a Function in an Unnamed Namespace

The use of the static keyword is deprecated when declaring objects in a namespace scope; the unnamed-namespace provides a superior alternative. Nonetheless, it is important to know how to define

DevX

Be Cautious with Equality Tests on Literal Strings

It is perfectly legal to use of the equality operator to compare literal strings. However, the results might be surprising: bool eq;eq = “Mungojerrie” == “Rumpleteazer”; //not what you expect

DevX

A C Renaissance?

The rumors about the obsolescence of C were immature. In fact, some of the latest developments in the software world indicate that C is still a leading programming tool. Linux

DevX

Change the SQL Server Configuration Option

You can use sp_configure with RECONFIGURE to display or change server-level settings. However, some configuration options require a server stop and restart to update the currently running value. RECONFIGURE does