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

Resizing Forms and Controls

ne of the more common questions here at Ask the VB Pro has always been how to automatically handle the resizing of forms and controls. Unfortunately, the short answer is

Convert Schemas to Documents

he way that XML is being used, of late, is beginning to send tremors throughout much of the programming world. Part of this has to do with an obvious logical

Unzipping Files with java.util.zip.ZipFile

he Java core packages include jave.util.zip, which is useful forcreating and reading compressed files or archives in the ZIP and GZIPformats. ZIP files form the basis for the JAR file

A Universal Data Format

Data types larger than the size of a byte aren’t portable because of the different endian-ordering of each hardware architecture. This means that passing an int in its binary form

The 80-20 Optimization Rule

It’s a fact that applications spend 80 percent of their time executing 20 percent of their code. Some even claim that the ratio is higher: 90-10. Usually, programmers can’t assess

Adding Object-Oriented Functionality to a POD Type

Sometimes, legacy code that contains Plain Old Data (POD) types (i.e., dumb structs that don’t have any member functions) can use an object-oriented “face lift”, e.g., adding a constructor or

Optimizing Nested Loops

Several compilers need this hint from the programmer while others are clever enough to figure it out automatically. When you have nested loops, declare the counter of the most deeply-nested

Inlining Virtual Member Functions

Generally, compilers can’t inline a virtual function call if the it’s resolved dynamically. Therefore, declaring a virtual member function inline might seem pointless. However, not every call of a virtual

Assign Image and Color Backgrounds in Table Cells

Browsers Targeted: Internet Explorer 4+ In Internet Explorer, you can assign images and colors into table cells and table rows through the background-image and background-color CSS attribute within style sheets.

XHTML: HTML Merges With XML

eb developers awake! XHTML (Extensible HyperText Markup Language) is coming to a server near you. It’ll change everything you ever knew about Web design, give you untold power on the

Implementing a Simple Login State Mechanism

s ASP programmers, you have probably received a request to password protect a portion of the Web site you are developing. The client wants the user to access pages A,

Keep the FrontPage 98 Extensions for VID 6

Since the arrival of FrontPage 2000 users of Visual InterDev 6 have been complaining about connection problems. The trouble isn’t actually with the FP 2000 extensions. It is the failure

Evaluating Database Security

Question: How easy/hard is it to hack into a database? How do they hack into them, and where can I get some basic information on database privacy and security? Answer:

Virtual and Non-Virtual

Question: Why would a call to a virtual function execute slower than a call to a non-virtual function? Answer: Because the call is resolved through an additional level of indirection?instead

Virtual Function

Question: I’m surprised the following code doesn’t compile: class C1{public: virtual void f() { /* … */ } void f(bool) { /* … */ }};class C2 : public C1{public: void

Jumping to the End of a Program

Question: I have a function halfway through a program, which should allow the user to quit the program, at the moment it just carries on to the next function call.

Entering Password at Startup

Question: How do I set up my Outlook 2000 client to autopopulate the user name and domain name in the Enter Password dialog box during startup? Answer: The best way

Onmonitor Program and Shared Memory

Question: When I start the Onmonitor program and run Status, I receive the message, “Unable to attach to shared memory.” But I have Informix 7.23 for AIX! What’s going on?

Creating a Client E-mail List

Question: I am trying to create a client e-mail listing to go out to all our company clients. What would be the easiest way to do this? Answer: The easiest

Opening Web Browsers for Multiple Pages

Question: I have seen a few tips regarding opening a Web browser using the Run command or using the ShellExecuteA external command. If I want to open multiple pages one

Running an External Program

Question: How do you get C++ to run an outside program? How do you type this in the source code? Answer: You can invoke another executable from your programming by

Single Quotes in Queries

Question: When using PowerBuilder as a front end for doing SQL queries, I get the following pop-up message when I look for someone with a single quote in their name

Searching PBD for User Object at Runtime

Question: I am currently writing a generic system where user object names are stored in a database and instantiated upon request. This is currently working beautifully, but I fall short

Protected Inheritance Bug

Question: What is the standard rule on access specifiers associated with superclasses? Old C++ compilers would not allow protected superclasses. But, the book I’ve read about OOAD allows it. Example:

Exchange 4.0 and 5.5 Home Server Incompatibility

Question: Is there a compatibility problem between users with Exchange 4.0 as their home server and users with Exchange 5.5 as their home server? As a user who has Exchange

Syntax Question

Question: What does “Today – @sub” equate to in Oracle and what does it mean? Answer: It doesn’t look like anything in Informix, and I couldn’t find any reference on

Soundex – Determine the phonetic code of a word

‘ The Soundex code of an alphabetical string” you can use Soundex code for phonetic searches’ Beware: this isn’t bullet-proof!” UPDATE: this version corrects a bug in the original routine’