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

DevX - Software Development Resource

Capturing a type_info Object

The operator typeid returns a const type_info object associated with its argument. However, the returned object is a temporary one, so if you have to call several member functions from

DevX - Software Development Resource

Applying too Much Style can Hurt Readability

Cascading Style Sheets (CSS) provide a good way to apply a style sheet to a section of text. With CSS, you can redefine how HTML tags work, for example making

DevX - Software Development Resource

How to Generate a Sequence of Random Numbers

Standard C provides two functions for the purpose of random number generation–rand and srand. The function rand generates a sequence of pseudo-random numbers. The term pseudo-random implies that the generated

DevX - Software Development Resource

Adjust Combo Box Drop-down Width

Due to limited space on a form, you sometimes must keep the width of combo boxes small. Because a combo box lacks a horizontal scrollbar, some text might remain hidden.

DevX - Software Development Resource

Ragged Arrays

Who said arrays in VB can’t change all dimensions while preserving data? I call this the “variable dimensions array,” and I use it when applications need data arrays with more

DevX - Software Development Resource

Third-Party Spell Checker

Question: I’m looking for a third-party library that does spell check and has some grammar rules. Answer: You have two solutions to this problem. One: you can purchase a third-party

DevX - Software Development Resource

Import Objects in Power Builder 5.0

Question: How can I import objects in code? I need to import to a library objects such as userobject and window, and not only datawindow. I use the function libraryexport

DevX - Software Development Resource

PBD to PBL Conversion

Question: Are there any tools that can generate back from PBD to PBL? Answer: There are no tools that I know of to reverse-engineer a PBD to a PBL. In

DevX - Software Development Resource

Response window looses focus in DW

Question: I have a datawindow with a couple of fields where users can double-click to see a code table. The code table window is a response window. The problem is

DevX - Software Development Resource

Primary Key Identity

Question: I have installed Service Pack 4 for SQL Server and Service Pack 4 for NT. I still receive this same error. Your Q&A suggests that this problem was fixed

DevX - Software Development Resource

NT Date Format

Question: I am trying to develop a VB program to interface with a database from a third-party imaging product. The database is SQL Server and the product stores dates as

DevX - Software Development Resource

Key combinations

Question: I’m developing an application for NT 4.0, and I don’t want that a fell key combinations works. So the question is, where can I disable functions such as Alt+Tab

DevX - Software Development Resource

DLLs on NT

Question: I’ve written an application that uses external DLLs. It works fine on Win95. When I try to load it on NT, it says it can’t find any of the

DevX - Software Development Resource

Returning strings from functions

Question: I would like to write a function that receivesan integer and converts this into a string representing the integers value in binary. At the moment I am struggling to

DevX - Software Development Resource

Array of pointers.

Question: I need to pass an array of pointers to a class to a function. The function is: void myFunc(myClass *example[]); The problem is that I need to define the

DevX - Software Development Resource

Creating a Guaranteed Unique Filename

Question: How can a unique filename be constructed that guarantees that it will be unique across processes? Answer: There is unfortunately no Java 1.1 analog to the POSIX tmpnam() C

DevX - Software Development Resource

Size of C++ executable

Question: Does one need a runtime DLL for an .exe file written with MFC in Visual C++? Can one make a standalone .exe program with C++ that is small and

DevX - Software Development Resource

Programming Languages

Question: My company, a strictly a VC++ development group, is considering developing a large real-time database/imaging application in both VB and VC++. What are the pros/cons of doing this, and

DevX - Software Development Resource

A pause function

Question: I cannot figure out a pause function for C++. Our books are very generic…can you please help? Answer: To pause for a given amount of time, you will need

DevX - Software Development Resource

fflush()

Question: I am having difficulty finding information and examples on how to use the flush function. Answer: If you are not sure how to use this function, then you probably

DevX - Software Development Resource

Extracting bits.

Question: How do I extract the value from a certain number of bits of an unsigned type? ex: date is stored as unsigned date = 0x26cf; bits meaning 0-4 Day

DevX - Software Development Resource

Applet Filename Change Problem

Question: I have a Java applet I got off the Internet that I want to use on my server. I have tested it on mycomputer and it works fine, but

DevX - Software Development Resource

Reflection – Constructors and array params

Question: I need to call a constructor of a dynamically loaded class, and thatconstructor takes a single parameter which is an array of strings,(i.e., constructor(String [] args). How can I

DevX - Software Development Resource

Simulating Keystrokes

Question: I am building an add-on application in Visual C++ 6.0. How can you send a key combination (such as Control+K) to another application to invoke a menu shortcut (for

DevX - Software Development Resource

Intercept File Operations

Question: I am trying to write a utility program. I need a way to intercept all file open/save operations and get the info about the name of the file so

DevX - Software Development Resource

How do I make a shortcut in Windows 95/98

Question: I would like to create a shortcut on the desktop. How do I do that without copying a file to the windowsdesktop directory? Answer: The basic approach is to

DevX - Software Development Resource

Frame Content to Image Object

Question: In my application, I want to convert the content of a component into a GIF image. I know how to convert an Image object to a GIF, but I

DevX - Software Development Resource

Sorting Strings in an Array

Question: I have a list of filenames in a String array. I’d like to sort them into alphabetical order. Is there a class to do this, or must I implement