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

A Recommended Exception Handling Policy

Exceptions report abnormal runtime situations. Although you have other mechanisms for detecting and reporting runtime errors, exceptions are advantageous because they automate the process of passing the error from a

Uses of the

The volatile specifier disables various optimizations that a compiler might automatically apply and thus introduce bugs. I

Create a Touch utility

The SetCreationTime, SetLastWriteTime, and SetLastAccessTime methods of the System.IO.Directory class let you modify the date attributes of a file or directory: ‘ Change the access date- and time of all

Internationalize Your ASP.NET Applications

Ollie Cornes has been working with the Internet and the Microsoft platform since the early 90’s. His roles have included programming, technical authoring, writing, project management. He has co-written several

Accessing Data Members in a Multithreaded Application

To ensure that only a single thread accesses a data member of an object, declare that member private. Next, add the necessary synchronization operations (e.g., a call to EnterCriticalSection()) in

The std::unexpected() Function

The Standard Library defines a function called std::unexpected() which is invoked when a function throws an exception not listed in its exception specification. std::unexpected invokes a user-defined function that was

Registering a Function with std::set_unexpected

set_unexpected() takes a pointer to a user-defined function of the following type: typedef void (*handler)(); Use set_unexpected() to register a user-defined routine that will be invoked when a function throws

Include Templates

Unlike ordinary classes and functions, which you declare in a header file and define in a separate .cpp file, a template

Limit Users Typing in Combo Box

The standard textbox has a MaxChars property that lets you limit the number of characters a user can type into it. The drop-down combo does not, but you can emulate

Design Extended Multiselect Listboxes

When you design a database in Access 2000, the most intuitive way or your users to look at the data they want might be to let them use xtended multiselect

Trim the Contents of HTML Form Elements

To use this tip, the HTML form element which is required for Null Check should assign the title property some value concatenated with “C.” For example: On the submit tag,

How to Schedule a Task

Here are three alternatives to scheduling a task run repeatedly without using threads:1.Using loop construct: boolean temp=true; While (temp) { for (int i = 0; i < 999999999; i++) {

Run a SQL Script File Using T-SQL

There’s no direct command to read a script file and execute it. But isql.exe and osql.exe come in handy when you have to execute a script file from within T-SQL.

Improve the Performance of Loops

Almost all Java applications require looping at some point or other. Even the slightest improvement in looping time can make a huge performance difference. Because the size of an array

How to Run a Java Application Without main()

Create one class similar to the following, add codes within the static block, and run the application. For example: public class A{ static void displayMe() { System.out.println(“I’m inside display Me

Make a Collection of All Inherited Classes

Say you want to have several classes-modifiers, and you want to execute a certain virtual function for each of them. The ideal solution is to create an abstract class with

Dynamic SQL Queries in a Stored Procedure

Dynamic SQL queries allow users to create statements on the fly using parameters or variables. The EXECUTE (EXEC) statement is used to implement dynamic SQL solutions in the stored procedure.

Abandoning the Fantasy of VB Migration Wizardry

or all the functional enhancements that .NET brings to a developer’s world and the excitement one might be feeling about putting these advances into practice, the truth is that this

Reallocating Memory Pointers

In any decent sized application, one of the most common activities is string manipulation at one level or another. One of the most common problems with string manipulation is the