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

Java Threads and Multiple Processors

Question: On a Windows NT box with multiple processors, will a multithreaded Java application get split between the processors automatically? Answer: This depends on the version and vendor of theJVM

DevX - Software Development Resource

Textfield focus

Question: I have a frame with a few textfields on it. How can I set the focus to the first textfield? Is there something like setFocus? Answer: A component can

DevX - Software Development Resource

Mouse Event Handling

Question: How do I program the right mouse button to bring up a window or dialog box when I right-click on a particular button? Answer: All Java AWT components exhibit

DevX - Software Development Resource

DBA; Backup

Question: What is the correct way to backup a SQL Server database? I’m new to SQL Server and don’t know where to start. Answer: The best place to start would

DevX - Software Development Resource

Process Local Storage

Question: Is there a way to get memory allocated that is global to the current process? Thread local storage won’t do the trick because you need a global handle to

DevX - Software Development Resource

Operator overloading

Question: Can you do operator overloading in Java? If so, how? Answer: Java does not as of yet support operator overloading, and there are no signs that it will ever

DevX - Software Development Resource

Limiting rows returned by SELECT

Question: In PL/SQL, the following syntax is allowed: SELECT * FROM table WHERE ROWNUM < 25 This would return the first 24 rows of a table. Is there anything equivalent

DevX - Software Development Resource

System information..

Question: I’d like to write a little program that determines the type of system one has. It would be able to report, among other things, processor type, system/bios type/ver #,

DevX - Software Development Resource

Multiple Font types in one TextArea

Question: Is it possible to have more than one font type in a text area? I have tried, but I can only change the whole text area component. Answer: It

DevX - Software Development Resource

External JavaScripts

Question: Can a script be placed in an external JavaScript file so it doesn’t have to be placed on all 200 pages of our Web site? Answer: Yes, as long

DevX - Software Development Resource

Technologies and Choices When Building a Web App

Question: We are trying to develop an intranet application and have traversed many rough roads and dead ends. Our environment is Internet Explorer 4.0 (some IE3), SQL Server 6.5 (soon

DevX - Software Development Resource

Capturing Search Engine Results

Question: I would like to have a page that allows a user to conduct a search. I would like the action of the search to be an ASP page that

DevX - Software Development Resource

JavaScript On or Off?

When using JavaScript in your Web pages, you should keep in mind that a user’s browser might not support JavaScript. This could either be because the browser is old or

DevX - Software Development Resource

Cursors Ready

Using JavaScript, you can set up a form such that when the Web page is loaded the cursor is in the text box. This functionality avoids making the user click

DevX - Software Development Resource

Namespace std May Not Be Modified

Generally, namespaces are open so it is perfectly legal to expand existing namespaces with additional declarations and definitions in several files. The only exception to the rule is namespace std.

DevX - Software Development Resource

JavaScript Debugger or Development Environment

If you’re looking for a development environment for JavaScript, JavaScript debuggers are available as a free download from both Microsoft and Netscape. The feature set of the two products is

DevX - Software Development Resource

Include Guards

#including a file more than once during the same compilation session will most likely cause the compiler to issue error messages since definitions and declarations of the file are repeated.

DevX - Software Development Resource

Seed the Random Number Generator

You can use Rnd followed by Randomize to seed Visual Basic’s random number generator. Whenever you use the same seed, Rnd produces the same sequence of random numbers: Rnd -1Randomize

DevX - Software Development Resource

Better Auto-Propercase

The “Auto-Propercase Text Box at Entry” tip [VBPJ May 1997, page 63] has a simpler solution. The StrConv function can propercase any string. You can achieve the same effect with

DevX - Software Development Resource

Convert from Fractional to Decimal Numbers

While developing a database front end for hand-tool management, I discovered a need to handle both fractional and decimal representations of dimensions in the same text box. This makes it

DevX - Software Development Resource

Avoid Form Confusion

When you define a form named MyForm, Visual Basic creates one instance with the name “MyForm.” Many programmers confuse this special instance with other instances created using Dim. For example,

DevX - Software Development Resource

E-mail Address Syntax

Question: We want to begin collecting customer e-mail addresses from our Web site. Our current file system is mainframe based, storing all data in uppercase format. Are e-mail addresses case

DevX - Software Development Resource

Optional Parameters in ASP

Question: In my Visual Basic ActiveX DLLs, some of the methods that I created for my objects use optional parameters. When I attempt to call these methods, I receive a

DevX - Software Development Resource

Side-by-side Tables

Question: I have noticed that some sites have tables that sit side-by-side. I can never duplicate this behavior with my HTML scripts. Do you have any suggestions? Answer: Positioning two

DevX - Software Development Resource

The Type-name Keyword

A type-name is merely a placeholder that has to be substituted with a proper type. For example: template T min( const T& first, const T& second); //T is a type-name,

DevX - Software Development Resource

Make Sure Data is Safe Before Unloading

To decide when it is safe to exit your program, use a DataUnsafe function. Set the DataModified variable to False when you load or save data, or when you start

DevX - Software Development Resource

using COUNT and GROUP BY with zero-values

Question: I’m trying to query our Human Resources database to find the number of temporary employees in each department. I’m using the following SQL statement: select count (*)from employeewhere status