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

Generating a Compiler Warning

Question: I am looking for a way to get the javac compiler to generate a warning message that I specify in my code when it is compiling my code. I

First Visible List Row

Question: Is there a way to find out the first visible row in a List? Answer: The standard AWT java.awt.List class does not provide a means for determining the first

strchr

Question: Where can I see the source code to the functionstrchr? Answer: If you purchase a compiler such as the professional edition of VC++, the source code for all run-time

C programs to assembly programs

Question: How can I do a C++ program that converts simple C programs to assembly programs? Answer: This is a very complicated task. The first step would be a parser

Integer Size

Question: Our maximum int value is 32,768, but our minimum int value is -32,767. Why aren’t they the same? Answer: Because a short integer (2 bytes or 16 bits) can

IE Does Not Support Netscape’s Layer Tag

Question: I know that Netscape supports layers in JavaScript. Is there any way to make them work in Microsoft Internet Explorer 4 or 5? Answer: Unfortunately, no. Microsoft and Netscape

Global Fucntion in Datawindow fails in exe

Question: I’m working on PowerBuilder 6 under a Windows environment. I’m calling a global function in a datawindow object. This function gets called perfectly in the development environment, but it

security – object permissions

Question: Why can’t I revoke the “update” permission from four tables in a database in the object permissions GUI? I have successfully revoked “update” from all other tables in the

SysTray Popup Menu

Question: I’ve used your technique for getting the icon in the tray and for being notified when the user has clicked on it, but I’m having a problem getting a

Error When Performing Inserts on SQL Server

Question: When inserting data into a table that has an identity column that is also the key, the following error occurs: Non-Blob column in table is required to perform operation.

Using GetFileTime and CompareFileTime

Question: Could you please explain, along with examples, how to use the commands GetFileTime and CompareFileTime? I read the help topics but find it hard to digest what they say.

SQL Equivalent ‘Next’ and ‘Previous’

Question: I have a database that I would like to navigate on the primary key in alphabetical order using SQL statements. I would like to find out if there is

Outputting query data to a file

Question: I am trying to list out the contents of a field, and there are so many, that I need to send the output to a file. Can you tell

Checking for Blank Form Fields

If you use an HTML form at your Web site, you may not want anyone to submit the form if required fields are left blank. You can check for blank

Designating Disabled Text

A well-developed user interface will make it clear which components in a dialog are available to receive input from the user. The AWT Component class has a setEnabled method for

Runing a DOS Program

Question: I am trying to run a DOS program using the folowing syntax: WinExec(‘Command.com /c c: emaddr CN=variable’, wn_shownormal); I can’t manage to get it to work with a variable

Controlling the Printed Page

Question: Is it possible to control the printed page size and layout in DHTML? In other words, can I control how a DHTML page looks when it is printed and

Splitting a TXT File

Question: I want to split a TXT file into smaller TXT files. The program should split the file every time there are three empty lines. For example: Paragraph1Paragraph2 Paragraph1 and

Dynamically Changing Table Values

Question: I have a table that contains the values returned from a SQL database. I have created a division within each cell. The ID value for the division is the

SizeOf Function in Delphi

Question: I’m using Delphi 2.0 Client/Server. The Delphi Object Pascal user’s guide says that the Integer size is 2 bytes (signed 16-bit with Range -32768-32768). But when I do the

Displaying Text and Setting the Font

Question: I am working on a project that reads in teletext information from the COM port in 8-bit binary form. Since ASCII does not represent teletext graphical characters, I have

The Access Specifier of Special Member Functions

The default constructor, copy constructor, assignment operator, and destructor are special member functions. The implementation implicitly declares these member functions for a class when the program does not explicitly declare

Standard Streams

C++ provides four standard I/O streams that are automatically instantiated before program’s outset. They are defined in the standard header : cin // standard input stream of charcout // standard

When Are Pointers Equal?

Pointers to objects or functions of the same type are equal if and only if in they are both NULL: int *p1 = NULL, p2 = NULL; bool equal =

C++ and Multithreading

Standard C++ does not directly address the issue of multiprocessing, threads, and thread safety. This issue is implementation dependent, which enables vendors to decide whether or not to provide multithreading

Watch Out for “()” When Calling Subroutines

To call a subroutine, you can use the Call statement or simply the name of the subroutine: Call MyRoutine(firstParameter) ‘Or MyRoutine firstParameter Notice you don’t include the parentheses in the

Collect User Requirements With Scenarios

When talking to the user or subject-matter expert about an application’s requirements, write the requirements in the form of scenarios. A scenario both defines the requirement and provides a list

Browse VB Command as You Type

When you refer to an object in VB5, you get a drop-down list of that object’s properties and methods. But, did you know that the statements and functions of the

Use the Same Name for Your Error Handlers

Older versions of VB required a unique name for your error-handler labels in order to use On Error GoTo . You had to concatenate the module name and routine name

Find Your Constant or Enum Values

I use constants for things like control-array index numbers, but it’s a hassle to keep scrolling to the top of the module to remember the constant names. If you name