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

Slam Selected Items Into an Array

Use this code to retrieve all selected list items in a multiselect-style listbox in one API call. It’s a lot easier than iterating through a large list using For…Next. This

DevX - Software Development Resource

Sorting With the sort() Algorithm

The generic algorithm sort() is part of the Standard Library. sort() takes two arguments of type const iterator that point to the beginning and the end of the sequence respectively:

DevX - Software Development Resource

Storing a Last-Modified Date in a Cookie

On informational Web sites, it is often handy to be able to show certain kinds of information only once, and then keep it hidden until it is updated. That way,

DevX - Software Development Resource

Placing a Sound File on a Web Page

Question: I want to put a sound file that I saved on my A drive on my Web page but I don’t know what HTML tag to use. The file

DevX - Software Development Resource

DHTML and XML Courses

Question: Can you recommend a training company that offers DHTML and/or XML courses? Answer: I unfortunately can’t make a specific recommendation because of the nature of what I do, but

DevX - Software Development Resource

Non-Form ActiveX Event Does Not Fire From ASP

Question: I downloaded Microsoft’s DIRWALK VB code and used it to create an ActiveX server. I want it to walk an HTML directory tree with ASP (Active Server Pages) so

DevX - Software Development Resource

Changing a Layer Through a Link

Question: Can I change the text of my layer through a link? I’ve heard it’s impossible and that I have to change the visibility of the layer and replace it

DevX - Software Development Resource

Performing File Operations With the File Class

You can use the File class (see Tips: “Constructing a File Class” and “Manipulating File Names With the File Class”) to perform operations on files that reside on your operating

DevX - Software Development Resource

Manipulating File Names With the File Class

Java defines a File class (see Tip: “Constructing a File Class”) that you can use to manipulate the file name and perform file-related operations on the underlying file system (see

DevX - Software Development Resource

Constructing a File Class

Java defines a File class that represents a name of a file on your operating system’s file system. You can use the File class to manipulate the file name, which

DevX - Software Development Resource

Printing DHTML (CSS) in Netscape 4.0+

Question: I’ve put together an intranet site that uses JavaScript functions that put together a page. For example, the header section, body section, footer section, sidebar, and so on are

DevX - Software Development Resource

Debugging With the Java Object’s toString() Method

Java’s Object class provides a method called toString() that returns the string representation of the object on which it is called. The method signature for toString() is: public String toString

DevX - Software Development Resource

Interface

Question: What’s an interface in Java programming? Answer: Conceptually, an interface is a class that defines a set of methods with no implementation. It is analagous to a pure virtual

DevX - Software Development Resource

Variable Declaration

Question: I understand that Java variables can be declared public, private, or protected using a similar syntax as C/C++ where the access modifier is placed before the column of variables.

DevX - Software Development Resource

Hardware config. development server

Question: I plan to create a SQL Server 7 database containing about 40 – 70GB of data. The data will be generated by queries. How should I spend my money

DevX - Software Development Resource

Alert Method Cannot be Modified From JavaScript

Question: Is there any way to change the font sizes and/or color scheme of the alert box? Answer: Both the alert and confirm commands rely on a platform’s standard message

DevX - Software Development Resource

SQL Server Query/Reports Tool.

Question: Can you suggest a good SQL Server query/reporting tool suitable for end users who are used to using the MS Access query builder/report generator? Answer: Why not stick with

DevX - Software Development Resource

Relational Database vs Flatfile

Question: My company is in the process of evaluating packages to replace our current business application. All but one of them run on a relational database architecture. The other one

DevX - Software Development Resource

Watching Index Use

Question: The goal is to watch queries for their use, nonuse, or abuse of indices (using SQL Server 6.5). One of the problems is to be sure that a given

DevX - Software Development Resource

Access Modifiers

Question: When should I make member variables protected and when should I make them private? Is it a good practice to ignore protected variables? It seems to me that most

DevX - Software Development Resource

Copying data

Question: Is it possible to select only certain records from a table and copy those records to a new table? Answer: The easiest way to move only certain records from

DevX - Software Development Resource

Power Script

Question: I am reading in an external data file using i_file = fileopen (“c:dataamt.dat”, linemode!,read!) fileread (i_file, filelines) fileclose (i_file) How would you avoid hardcoding the data file so that

DevX - Software Development Resource

Testing String Equality

Question: This is a section from a program I am writing. It goes through the first if statement fine, but when it gets to the second if statement it doesn’t

DevX - Software Development Resource

Java numerical performance

Question: I’m thinking of reimplementing a computationally intensive scientific app in Java. What fraction of native C speed do people usually see with current Java compilers? Answer: This is not

DevX - Software Development Resource

MFC applications

Question: I have no experience with MFC applications, and I am wondering if there is a URL that gives very basic samples of code for applications. I can’t even figure

DevX - Software Development Resource

obj files

Question: Do you know of any utilities that can convert an *.obj file back to its original code (*.cpp/*.c)? Answer: The simple answer is that there is no hope of

DevX - Software Development Resource

Two-way list with one pointer

Question: How can I make a two-way linked list with only one pointer? Answer: If, by two-way linked list, you mean a linked list that can be traversed from either

DevX - Software Development Resource

Function Pointers

Question: I’m converting an fsm from C to Java. The C code has a struct and one of the members contains a pointer that contains the address of a function.