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

Guidelines for Handheld Computer Developers

The proliferation of handheld devices and embedded systems revives old programming and design considerations that existed in the olden days, when every byte of memory and every CPU cycle counted.

Improve Performance by Putting Loop in a Query

Most applications contain a loop that contains a parameterized query, which is executed many times depending on some logic. This requires a network round trip between the computer running the

Avoid Using Refresh() Method

Refresh method of Parameters collection is used to populate the Parameter objects in the collection. This method queries the data provider to populate the collection with Parameter objects containing specific

Use Stored Procedures with Output Parameters

If you already know that the execution of your SQL statement will return a single row of data, then you should always prefer stored procedures with output parameters in place

Useful Thread Terminology

Java makes working with threads relatively straight forward. However, there are situations, or anomalies that can arise due to improper design of a thread-based code. The following provides you with

Display Various Date Information in your ASP Pages

There are certain scenarios where you need to display the create date or the last modified date of your document. There is a “LastModified” method in the “document” object which

What is a JAR File?

Java Archive (JAR) files are compressed files into which you can store many files. If you place the many classes that your application, or applet needin a JAR file, you

Beware of Null Values in ASP Database Programs

The Active Server Pages HTMLEncode function is great for handling strings that come from a database, especially if the string includes foreign characters. However, you can get into trouble if

Record Retrieveal Using fscanf

Question: If three records have been written to a text file(each record having 3 int fields) and each integer field is seperated by a comma, how do you retrieve only

Returning a Pointer to a Member Function

Question: Let’s say I have a class foo, with a lot of functions that take no arguments and return SomeType: SomeType foo::bar()SomeType foo::quux()SomeType foo::quuux()SomeType foo::quuuux() Now I have a pointer

Get or Set the height of TreeView nodes

In plain VB there is no way to determine or change the height of node elements in a TreeView control. All you need to accomplish both tasks, however, is send

Traverse a Hashtable

Java hashtables are widely used to maintain a mapping relationship between objects. It is easy to store, and retrieve an object from a hashtable using an arbitrary key. Sometimes, it

Go Through Proxies With Java

Network administrators make use of proxy servers to enhance the security oftheir networks. A proxy server can be seen as a service that managesconnections between the internet and an internal

Dynamically Resize Your JLabels

There is a simple way to resize your javax.swing.JLabels to the text theydisplay.For an instance of javax.swing.JLabel called jLabel1, if there is not LayoutManager installed : jLabel1.setText (“A somewaht long

Uses of the ptrdiff_t Data Type

C and C++ define a special type for pointer arithmetic, namely ptrdiff_t, which is a typedef of a platform-specific signed integral type. You can use a variable of type ptrdiff_t

Initializing Array Class Members

You cannot initialize an array member in a member-initialization list of a class. For this reason, the following code will not compile: class A { private: char buff[100]; public: A::A()

Recompile Stored Procedures

Normally when a user calls a stored procedure, SQL Server does not create a new data access plan to retrieve the information from the database. The queries used by stored

Prefer Native Provider Over ODBC Providers

You can improve performance of your MDAC application by using native OLEDB providers instead of OLEDB provider for ODBC. MDAC 2.0 contains the native OLEDB providers for three SQL data

Understanding Memory Pages and Page Alignment

System memory is divided into units that are called “pages”. A page consists of 4,096 bytes (4K) on Intel architectures, and on Alpha systems it consists of 8,192 bytes (8K).