
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.

Question: Can you put a variable within quotations?For example: Shell “Explorer.exe (?var)” Answer: You have to concatenate the two strings together. If your variable is named var, you would call

Question: My SQL statement at the moment is: SELECT * FROM NewsItemsHow do I sort the dates in descending order? Answer: Use the ORDER BY clause to sort the results

Question: Is it possible in VB 6.0 to include pieces of code through an include- or importstatement like the C #include-preprocessor command or the Cobol copy-statement? Answer: You can add

Question: What can I use in SQL that does the same thing that IIF(test,TruePart,FalsePart) does in Access? Answer: You can achieve the same result using the aggregate function COUNT and

Question: How can do I write a query to retrieve a string with a specific number of characters from a field? For example, the “firstname” field has a name that

Question: I am building an e-commerce site with SQL as the database. When an order is placed, how do I have the database set the HandlingCharge column to 5 if

Question: Is there an ODBC driver that can connect our existing Informix database on Unix to SQL Server 7.0 on NT 4.0? Answer: Yes. You need to run the Informix

Question: How do I convert Informix Database to SQL Server 7, or even to Access? Answer: First, you need to create the identical database in SQL7 or Access (same field

Question: How do I convert Informix data under Unix to a text file? Answer: You can do this by using a SQL UNLOAD command: UNLOAD to textfilename.unl SELECT * from

Similar to a procedure call in many programming languages, Server.Execute in IIS 5.0 calls a different ASP file as if it were part of the same ASP file. And it

Question: Do you know of any resource that readily identifies the differences between WAP 1.0, 1.1, and 1.2? Answer: Not that I’m aware of, but you might want to let

Question: Do all WAP-enabled devices support WMLScript? If not, how do I find out which ones do? Answer: WMLScript is compiled into bytecode before running on the WAP client—it is

Question: What other skills besides Visual Interdev, VB, ASP, and DCOM/COM do I need to jump into Wireless development? Also, do you think Java technologies will take over Microsoft technologies

Question: How do I connect my new Jornada 548 to the Internet and, once connected, access AOL (not AOL mail)? Answer: AOL provides AOL Instant Messenger in Windows CE format.

Question: If I create an ASP that outputs WML, can I use the Nokia Toolkit 6150 phone to view the ASP output? Answer: Yes, you can use the emulator tools

Many programmers think of automatic garbage collection (GC) as the Holy Grail of programming that will free them from every conceivable bug. This approach is wrong, though. One has to

In pre-standard C++, the strstream family of classes was used as buffered stream classes. These classes are now considered deprecated; you should use the stringstream family of classes instead. For

The notion of invariants was introduced nearly 30 years ago. In essence, an invariant is the property that makes the state of an object well-defined. Usually, the invariant of a

You should use memcpy() only for copying POD (plain old data) types, but not class objects. For copying objects, use their assignment operator or the std::copy() algorithm. Remember also that

A compound statement is a sequence of one or more statements enclosed between { and }. For example: for (int n=0; n

A function that can be safely called while it’s already executing is said to be re-entrant. The C++ standard doesn’t state whether the Standard Library’s functions are re-entrant; this is

The software industry uses the term “I18N” as an abbreviation for the terminternationalization. The idea is that I18N begins with an i, ends with an n, and has 18 characters

For recursive assignment expressions such as the following: x = x+5; x= x/5;x = x * 5; C++ defines shorter versions that eliminate the need to repeat the variable’s name

Although C++ clearly defines operators’ precedence, the compiler is allowed to compute subexpressions with identical precedence in a platform-defined order. Besides, many programmers don’t remember which operators have higher precedence

You can refer to a name of a class member only in one of the following contexts: In the scope of its class or a class derived from its class

Question: Can I generate WML via an ASP? If so, do I no longer need a WAP server installed on top of IIS? Answer: ASP is a server-side scripting language.

Question: I have installed the library in my server but when I try to do Server.CreateObject(“CDONTS.NewMail”) in my ASP file, it returns an error: ‘ASP 0177 : 800401f3’ “Server.CreateObject failed”

Question: How do I write a statement that selects data between two dates? Answer: You can select data within two dates using the BETWEEN operator. Using the Orders table in

Question: I am trying to select various values from various fields. I want to be able to concatenate the results into a string variable, then insert the string into another

Question: I want to attach a parameter to a URL like this, “url?name=value”, and use the parameter on the HTML page. Is this possible? Answer: Yes; you can do this











