Tip Bank

DevX - Software Development Resource

Select Maximum Five Result

Question: How do I find out the top-five best sale items? I want the maximum five items to be listed. Answer: In version 7, SQL Server has conveniently provided the

DevX - Software Development Resource

Refer to Members of a Collection With the Full Name

You can access all variables directly by calling Request(variable) without the collection name. In this case, the Web server searches the collections in this order: QueryString Form Cookies ClientCertificate ServerVariables

DevX - Software Development Resource

Dual Processor Support

Question: Does Microsoft plan on implementing dual processor support in Windows “Millenium” and will it be based on NT? I’m just trying to decide whether I should upgrade my Win98

DevX - Software Development Resource

NT Workstation 4.0 Home Network

Question: I have two PCs at home which are used by various members of my family. I want to connect them as a small network. Can I do this by

DevX - Software Development Resource

Schedule a Batch File

Question: I need to schedule a batch file to automatically run at night. I have tried every variation of the “AT” command from a command line on the Windows NT

DevX - Software Development Resource

Windows 2000 Boot Disk

Question: I have installed Windows 2000 on my laptop. I would like to create an emergency start disk akin to Windows 98. My current partition is FAT32. I created a

DevX - Software Development Resource

Using the Assert Macro

Question: I am not sure if it is good when I use the assert macro in the following code: int sum(int number)// Precondition: number => 1// Postcondition: return sum from

DevX - Software Development Resource

Object Containment and Member Initialization

Question: I would like to know for containment (having objects as data member), what is meant by “if the inner class object’s constructor requires parameters, the initialization syntax must be

DevX - Software Development Resource

Defining an Array of Strings

Question: I have 20 predefined strings that I want to put into an array of strings. Here is my idea: #include static std::string array[20]; If I do just this, I