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

Unconsting a Const Reference or Object

Question: I have encountered a problem as follows: void foo(const int& var){ foo2(var);}void foo2(int& var)… So what I did was void foo(const int& var){ foo2((int&)var); ^^^^^^} and it compiled *_*

Order Objects Constructed on a Window

Question: I have a number of datawindows in a window. In a post-construct event I am making a call to another datawindow. Every so often when I open the window

General Precedence

Question: I am an engineer at GNB Technologies and have been programming for quite some time. Last week a friend of mine asked me an interesting question that stumped me.

The MBFormEx ActiveX control

Add this control to a VB form and onjoy a number of great new features, including: the control over the size and position of the form when maximized, automatic resizing

Generate a Random Whole Number in JavaScript

You can generate random numbers in JavaScript using the Math.random() method. This function returns a fractional random number between 0 and 1. Unlike other languages, JavaScript will initialize a random

Where Are Exception Objects Stored?

Consider the following program: class Exception {}; int main() { try { throw Exception(); // where is the exception stored? } catch( Exception & ex) // catch by reference {}

Heap or Free-Store?

The terms heap and free-store are used interchangeably when referring to dynamically allocated objects. Are there any differences between the two? Technically, free-store is an abstract term referring to unused

Validating Data Entries

Suppose you have an application that reads input from the keyboard. How can you detect whether alphabetic data is being entered into an integer field from a cin statement? The

Change Pages Using the Enter Key

Question: How do I display the next page after a user enters data into a field and presses the Enter key? Answer: This is both possible and fairly easy. Here’s

Generate a Unique Whole Number

Question: How can I generate a unique number using JavaScript? Answer: You can generate random numbers in JavaScript using the Math.random() method. This function returns a fractional random number between

GetYear() Function Is Not Y2K Compliant

Question: I call the following function to display the date in “month, date, year” format. It displays in the right format (for example, January 7, 2000) in Netscape 4.0. But

Add Keyboard Shortcuts to Your Web Page

With HTML 4.0, you can add keyboard shortcuts to your Web page. To achieve this, you place the ACCESSKEY attribute inside the form element tag. It is advisable to add

Event ID 1025 – EcGenerateReadReport

Question: I am getting this error message in the event viewer for my Exchange Server: Event Id: 1025Source: MSExchaneIS PrivateType: WarningCategory: GeneralDescription: An error occurredFunction name or description of problem:

Present Lists Using the SELECT Control

You can use the SELECT control to present a predefined list to the user. The SELECT control is useful for quickly selecting one or more items from a predefined or

Volatile Semantics and Container Objects

Volatile objects are used in multithreaded applications and applications that map hardware devices into registers. Although you can declare an STL container object with the volatile qualifier, you will not

When Is It Safe to Use Inline?

Excessive use of inline functions might bloat the size of the executable and reduce execution speed. In other words, using inline abundantly can degrade rather than enhance performance. For this

Converting Julian Dates to Gregorian Dates

Question: How do I change a Julian date to a Gregorian date and remain Y2K compliant? Answer: I am not sure how the year is stored in the Julian date,

Hardware Configuration for New Server

Question: We need to migrate to a new server and are looking for some hardware guidelines for the new server. The server will need to support up to 250 users

Pass PARAM to OCX From ASP

Question: How do I pass a login ID from my ASP page to my OCX? I created a public property in the OCX, but it is not getting the data

Query Returning Case-Insensitive Matches

Question: Using ASP and ODBC, I can query Microsoft Access databases using the “Like” operator with the wildcard %, such as: Select * from customers where lastname Like ‘%jon%’ The

Visual FoxPro 6 and Microsoft Word Tables

Question: How can I make a table in a Microsoft Word document through OLE Automation from VFP? I investigated with the Visual Basic editor and I can’t find how to

Public Folder Synchronization

Question: This is a fairly simple problem but I am relatively new to Exchange and Outlook. I am trying to get my folders that are on Exchange to synchronize with

Mailto Link Not Connected to Outlook

Question: I’m having a problem. I have Outlook installed, and I also have Lotus Notes. We’re using Exchange as the mail program, and the clients are Outlook. For some people

Send Parameters From HTML to a Form

Question: I want a link to refer to an order form, but I don’t need to use a database. I just want to pass a few details (like city name,

Preventing Sending Output to Screen

Question: I am trying to send a text file that I have made from my report to the printer.The code is: REPORT FORM neto ASCII TO FILE pom.txtset headings offTYPE