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

Break Out of Those Frames

So you’ve designed your page just perfectly so all the content screams at the user to be noticed. Unfortunately, sites that link to your site have decided to place their

AWT Thread Interaction

Question: I have two threads in an application. Thread A displays a form andallows the user to interact with it, thread B executes a loop whichcontinually retrieves data and updates

Textfield Alignment

Question: How do I right align numbers in a textfield? Answer: This is yet another example of why the Swing classes should be used inlieu of the AWT classes. Swing

Initializing A ResultSet

Question: I am building a prototype but am trying to make the code as reuseableas possible. To test the prototype, I need to simulate a ResultSetbeing returned from a database.

C-Style Function Pointers

Question: While trying to port some C code to a C++ implementation, I ran into this problem. The module this came out of was designed to “automate data handling used

Languages Used for Windows Programs

Question: I need to know what languages are used in the implementation and programming of Windows 95 et al. (Windows 98, Windows NT, and Windows 2000). Any help or referrals

Display an Alert After the Page Loads

Question: How do I make an alert box pop up 10 seconds after the page loads? Answer: You can display an alert a certain length of time after the page

Outlook Client Locks Up

Question: We have someone using PPTP to connect to our Exchange server. He is able to use the intranet without problems. He can even get into Outlook, but the troubles

New Versus Malloc()

Question: Why is it necessary to typecast the return value of malloc() but not for the new operator? This question has been asked of many C++ experts but no one

Removing cc:Mail Connector

Question: I need to remove the cc:Mail connector. How do I do this? Answer: Though it would seem intuitive to select the connector and click Delete but that actually won’t

Duplicate Holidays on Outlook Calendar

Question: Because my work and home computers were accidentally set to different time zones when I imported Calendar info from one system to the other, I ended up with multiple

Dynamic Views Using the System Date

Question: I have a user who wants me to create a dynamic search view where the data retrieved is effective within the last six months using the system date. Is

Class Scoped Constants

Question: Is there a better way to scope constant values within a class other than by using “enum”? class Foo {public: enum { valueOne = 1, valueTwo = 2 }

Caching JavaScript Files

Question: If I include a .js file using the src attribute of a script tag and then I need to change the content of the .js file (perhaps to correct

Dynamic Report Generation

Question: How can I develop a report such that the user can choose what fields of a (single) table should be retrieved and printed? For example, a customer table with

Remote Mailbox Access Takes Too Long

Question: I am running Microsoft Exchange 5.5 Server with Microsoft Outlook 2000 as client software. For my remote users, they are using the offline folders. Every time a user dials

Detecting Alphabetic Data

Question: How do you detect alphabetic data being entered into an integer field from a cin statement? Answer: The easiest way to do that is by having cin read a

Storing Strings Within an Application

Question: I have a series of strings that I wish to store in the program directory. I want to save them all to the same file and be able to

Securing Images on Your Site

Question: Is it possible to keep someone from downloading an image from my Web site? Answer: It’s certainly possible to secure some of the files on your Web site. The

Informix ODBC Drivers 3.31

Question: I am currently running Informix Dynamic Server 2000 version 9.20 TC1 on an NT server, Service Pack 6a. I have existing Visual Basic 5 applications that are using ADO

DATETIME Type Conversion

Question: I need some help with the DATETIME data type conversion. I have an Informix database running in a UNIX environment and I need to insert the system hour into

Preventing Users from Deleting E-mail

Question: I would like to prevent users from deleting e-mail in Outlook 97 on a Windows 95 or Windows NT workstation in combination with Exchange Server on an NT server.

Possibility of Decompiling an EXE File?

Question: How can I get the source code from EXE files? Does it matter if they are read-only? Answer: This question is asked very frequently. However, the answer is always

Explaining the Modulus Operator

Question: What does the modulus (%) operator do? Answer: The modulus operator returns the remainder of a division operation. For example, 5%2 equals 1 because dividing 5 by 2 gives

Deleting/Expanding a Column

Question: What is the proper method(s) to delete a column from a table or expand the size of a column in a table? Adding is easy. Deleting and changing obviously

Pointers to Class Member Functions

Question: I’m trying to write a program that has a pointer to a private member function of a class. A public member function calls some of the private functions by

Segmentation Fault

Question: What is a segmentation fault? I get it when I try to output an integer. (It’s a very basic program: it reads in an integer and spits it back

Informix OLE DB Provider

Question: I have IDS 7.31.UC2A and I want to register Informix OLE DB Provider on this database server. I need the %INFORMIXDIR%etccoledbp.sql script for running it against the sysmaster. Can