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

Swing, Buttons in Buttons

Tired of the same old buttons? My car radio has buttons in buttons, and you can do the same with Swing. Swing components are also containers which can contain other

DevX - Software Development Resource

How is Virtual Inheritance Implemented?

When multiple inheritance is used, it is sometimes necessary to use virtual inheritance. A good example for this is the standard iostream class hierarchy: //Note: this is a simplified description

DevX - Software Development Resource

Code-Commenting Shortcuts

Instead of going to the Edit menu to comment out a section of code, you can add the comment command to the shortcut menu you access by right-clicking in a

DevX - Software Development Resource

Is My Object Valid?

Have you ever needed to determine if an object variable is holding a valid reference? TypeName() returns a class name if the object holds a valid reference. It returns the

DevX - Software Development Resource

Run Your VB App on Startup

Do you have an application you need to launch on Windows startup? Typically, you do this by placing an item in the Startup directory. However, you can also do this

DevX - Software Development Resource

Help

Question: When we copy an image (in bmp format) in a help file, we get a “not enough memory space” error when we compile. What are the formats of images

DevX - Software Development Resource

NT and Windows 95/98 Network Integration

Question: At our school we have a Windows NT Server network (10O Base T and 10 Base T mix) for our students to use. We have a five-station peer-to-peer Windows

DevX - Software Development Resource

System-wide keyboard Hook

Question: I want to trap the special keys of Windows NT: Alt+Tab, Ctl+Alt+Del. In the first 10 minutes, I set a kbd hook and took a look at what were

DevX - Software Development Resource

DBA

Question: Other than specifying the “/o” option, is there a way to direct isql output to a file? I would like to specify the file name dynamically in a stored

DevX - Software Development Resource

Finding User NAME on NT

Question: My problem is that once I get the logged-on user id, I need to get their full name from the NT security. Is this possible? For example: UID: jsmith123Name:

DevX - Software Development Resource

MTS 2 import package error

Question: I attempted to import a package (*.PAK) file from another MTS server, and I got an error message. Both MTS servers are running the same version ofNT and MTS.

DevX - Software Development Resource

Changing Windows NT Password Progmatically

Question: How can I change my Windows NT server password through a program? Answer: Actually, this is rather simple. However, heed the following precaution from the MSDN documentation on this

DevX - Software Development Resource

DOS Level error code

Question: Do you know how to return DOS level code from a program upon exit? Answer: On most systems, you can simply return a value from your main function.int main(){

DevX - Software Development Resource

User-defined string functions

Question: I am moving from other languages to Visual C++. I am trying to write a function that returns a string (or pointer to a string), which will then be

DevX - Software Development Resource

Visual C++ 5.0 compatible with C?

Question: I am studying C and C++ programming on my own. I have no previous programming experience. I am using Visual C++ 5.0 to run the following example “program 8.12”

DevX - Software Development Resource

‘80004005’ Error in Visual InterDev

Question: I am trying to view the table information by using the Data Form Wizard in Visual InterDev. I have successfully previewed the fileList.asp form that is created by the

DevX - Software Development Resource

Crashing Internet Information Server

Question: Is it possible to crash a server from an Active Server Page (ASP) if you are using an object instantiated via an ActiveX DLL installed on the server? My

DevX - Software Development Resource

Accessing private member of linked list class

Question: I have a linked list class whose private data members I want to access and initialise through a dialog box generated through the VC++ wizard. Debugging gives me an

DevX - Software Development Resource

Visual Basic or Visual C++

Question: I am interested in buying a new compiler and don’t know wether to purchase Visual Basic or Visual C++. I have taken a course in C++, but I am

DevX - Software Development Resource

How Do You Delete All Files In A Directory?

Question: Deleting all files in a directory should bea basic function; however, I can’t seem tofind a function that will do this. Can you point me to a function that

DevX - Software Development Resource

Network Programming, UDP Echo Client

When network testing, it is useful to have a client program connects to a UDP server and gets an echo of a text string that you send to the server:

DevX - Software Development Resource

Network Programming, TCP/IP Echo Client

When network testing, it is useful to have a client program that connects to a TCP/IP server and gets an echo of a text string that you send to the

DevX - Software Development Resource

Network Programming, Simple TCP/IP Server

The following program is a simple version of a TCP/IP server that responds to requests from a client and delivers files. I wrote it to be as small as possible

DevX - Software Development Resource

Network Programming, Simple Browser

With Java, you can easily write a client program that connects to a Web server and downloads an HTML file. You can also easily expand this simple program into a

DevX - Software Development Resource

Jump Back and Forth Among Procedures Quickly

My code often has a lot of nested procedure calls, which can be painful to trace while doing walk-throughs. Developers might be unaware of the “Procedure Definition” (Shift+F2) feature, which

DevX - Software Development Resource

Doubling Quotes for SQL Statements

This routine parses a string and returns an equivalent string where all the instances of a given substring are doubled. This is especially useful for doubling quotes within SQL statements

DevX - Software Development Resource

Use Pictures on Command Buttons

To use a picture on a CommandButton, you must set its Picture property and set its Style to 1 – Graphical. Otherwise, the picture will be ignored.