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

IN SQL Statement

Question: I have department codes like this: T, B, P, O, Q, etc. How can I find T only, B only, or others only (excluding T and B)? Answer: You

Cleaning Up Old Dumps

Question: How do you clean up old database and transaction log dumps without removing the backup device? I cannot find a way to delete a single instance of either. Answer:

Losing Timer Events

Question: When I start a timer on a window with an interval of one second, I expect to get a timer event on the window every second. I have noticed

Recovering Data from an Old .OST File

Question: Recently, we had a server die on us with bad backups. We have installed a new server and have reestablished all the mailboxes. I have one mailbox that is

Converting GETDATE to 24-Hour Format

Question: Using GETDATE returns the time portion of the date in the 12-hour clock form (“08:30pm”). I need the time portion to be in 24-hour clock form (“20:30”). I can’t

None Specified Datawindow Retrieval Arguments

Question: I have a datawindow that will be called by two functions. The first function only uses the first retrieval argument; the second function uses all three arguments. In the

Finding Column and/or Row Height

Question: I have a column that is set to Autosize Height. I would like to find the column height for this column on each row after the data has been

Is Exchange the Answer?

Question: I am setting up a new post office SYS. We have five sites over the United Kingdom. Is Exchange the right product to use? We would require replication of

Don’t include Extender properties in ActiveX Wizard

The left-most listbox in the first page in the ActiveX Control Interface Wizard includes all the properties exposed by the constituent controls currently on the UserControl’s surface. Unfortunately, this list

Declaring a typedef

typedef names can hide intricate syntactic constructs such as pointers to functions and template instances. However, many novices simply don’t know how to declare a typedef, or worse yet

Deep Copy and Shallow Copy

The terms “deep copy” and “shallow copy” refer to the way objects are copied, for example, during the invocation of a copy constructor or assignment operator. In a deep copy

Declaring Pointers to Data Members

Although the syntax of pointers to members may seem a bit confusing at first, it is consistent and resembles the form of ordinary pointers, with the addition of the class

The Representation Of Pointers To Members

Although pointers to members behave very much like ordinary pointers, behind the scenes, they are not necessarily represented as pointers. In fact, a single pointer to member usually consists of

Declaring Pointers to Member Functions

Pointers to member functions consists of the member function’s return type, the class name followed by ::, the pointer’s name, and the function’s parameter list. For example, a pointer to

Returning an Argument by Reference

Question: What exactly returns a C++ function if it returns an object by a reference like: Person& GetNextPerson(); Please explain at assembly level, if possible. Answer: Assembly speaking, such a

Open ODBC Connection Without Hardcoding Password

Question: In my ASP page, I open an ODBC connection with: Set Conn = Server.CreateObject(“ADODB.Connection”)Conn.CommandTimeout = 600Conn.open “Database_name”,”Username”,”password”. How can I avoid hardcoding the password in the ASP source? Answer:

Data Source Name Not Found Error ‘80004005’

Question: What does this error message mean? Microsoft OLE DB Provider for ODBC Drivers error ‘80004005’ [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified /SampleProject/default.asp,

Overloading istream operator >> for bool

Question: I am trying to overload the istream operator >> to work with type “bool”. From my point of view the code looks okay, except the VC++ 6.0 compiler tells

Cross Platform Compilers

Question: Is there a C++ compiler that I can use to go cross-platform with development?I need to develop the same DLLs for AS400, Sun, and Windows. Answer: I’m not sure

Are Borland’s Delphi and C++Builder code-similar?

Question: I am trying to decide between purchasing Borland’s Delphi or C++Builder. Can the VCL code written to work in Delphi also work in C++Builder (latest versions for both)? Answer:

C++ Comments

Question: Why isn’t C commenting style preferred in C++? C commenting style definitely looks neater and more readable than the C++ commenting style. Answer: /* comments in C++ are just

Accessing Arrays

Question: Normally, you access an array by the number of the element you want. Is it possible, in C++, to access an element by the value and return the number?

Display Date and Time of File Upload

Question: How can I display the date and time a file was uploaded to my Web server using ASP? Answer: If you can access the file from an ASP page,

Updating a VB6 DLL on the Web Server

Question: We have Internet Information Server (IIS) 4.0 running Active Server Pages (ASP) with a Visual Basic 6.0 DLL serving data content to the ASP pages. The problem lies when

Dynamically Insert Text Into a Text Box

Question: How can I provide the user with a combo box and based on his selection populate the data in a text box? The data has to come from a

Understanding Session_OnStart and Application_OnStart

Question: I am confused regarding the Application_OnStart and Session_OnStart events in the global.asa file. What I feel is that the application_onstart event is triggered the very first time the application

Connect to a Remote Database Using ASP

Question: How do I connect to an Access database that resides on a network server other than the Web server? My goal is to query the Access database and display