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

SQL Redirection to a Text File

Question: How do I redirect the output of a SQL query to a file? Answer: Use the isql command-line switches to redirect the output of a query to a file.

DevX

Getting Data That Is in One of Two Tables

Question: I have a query that retrieves a field which is a foreign key in two tables. The tables are organization_name and person_name. Each instance of the foreign key is

DevX

Displaying the Timestamp in SQL Server 7

Question: I want to show my users when a record was last updated. Is there any way to display the timestamp field? Answer: The timestamp field is not a good

DevX

Error Message When Creating a New ActiveX Class

Question: I’m running Windows NT 4.0 (Service Pack 3) and have developed an ActiveX Server (EXE) using Visual Basic 6 (Service Pack 3). How come whenever I try to create

DevX

BIOS Version Information

Question: I have scoured the Web and can’t find any information on where to obtain BIOS version/name information. As far as I can tell, there are no APIs or C

DevX

Rediscover the FrontPage Server Administrator

After upgrading your system to FrontPage 2000, you may get an error message when you try to run the FrontPage Server Administrator from the Windows NT Option Pack group. The

DevX

Use REFIID instead of const IID&

Because GUID are 16 bytes in size, you don’t want to pass them by value. Instead, you should pass them by reference. This is why Queryinterface takes a constant reference.

DevX

Use Connection Pooling to Enhance Performance

You can experience a great increase in database performance if you utilize connection pooling. Creating a connection to a database takes a lot of time and resources. If every you

DevX

Quick-Start XML

o, you’ve been too busy earning an honest living to get into XML, and your data couldn’t be more disorganized. Don’t worry, because building upon the Visual Basic skills you

DevX

Communicate With the Server Using XMLHTTP

f you’ve been working with Extensible Markup Language (XML) anytime lately, you’ve probably realized what a powerful language it can be. You can do all kinds of interesting perambulations to

DevX

VBControlName – The name of a VB control

‘ the name of a control given the corresponding VBControl object’ (accounts for items in control arrays)Function VBControlName(vbc As VBIDE.VBControl) As String Dim index As Long index = vbc.Properties(“Index”) If

DevX

Fill a TreeView control with random data

Every now and then you need to fill a TreeView control with some random data, for example when you want to test a routine and you don’t want to write

DevX

ConvertSelectedTex – Convert text selected in code window

‘ Convert to uppercase, lowercase, or propercase the text that is’ currently selected in the active code windowSub ConvertSelectedText(VBInstance As VBIDE.VBE, Optional conversion As Long = _ vbUpperCase) Dim startLine

DevX

Improve Performance of IIS by Changing Threading Model

Internet Information Server (IIS), by default, uses an apartment-threaded, or single-threaded, threading model. This design choice was made because many Web sites still used Access as the database backend. Access,

DevX

A Reference to a Reference is Illegal

What is wrong with this code snippet? #include #include using std::string;using std::list;class Node {/*..*/};int main(){ list ln; //error} If you try to compile this example, your compiler will issue numerous

DevX

Random Integers Over an Integer Interval

The java.util.Random class has a public int nextInt() method that returns a randomly selected integer, but there is no innate method in that class to create a random number over

DevX

Reporting an Error During Object’s Construction

Constructors have no return value (not even void). Therefore, you have to use alternative techniques of reporting errors during object’s construction. There are three common techniques of reporting such errors.

DevX

Find Text Between Two Strings

This function is useful for returning a portion of a string between two points in the string. You could, for example, extract a range name returned by Excel found between

DevX

Repeat Performance

A simple loop through your main string lets you count the occurrences of a specified character or string. This function is useful for determining if enough commas appear in your

DevX

Transport a List

The typical way of entering user-specified data into a list box is one entry at a time; however, you can accept multiple delimited entries at once and add them to