The Latest

DevX

Change Comma-Separated Strings to Arrays

You can use the Visual Basic split function to convert a comma-separated string to an array. The function allows you to send a string as an IN parameter of a

DevX

Conditional Compiling and Project References

Question: I am trying to support an application that needs to support DAO 3.51 and 3.6.How do I insert a project reference like this as a conditional compiler option? Answer:

DevX

Linking Forms

Question: How do I use a CommandButton to link Forms? Answer: The Show method of a form can be used to show a second form from within another. Related Posts

DevX

WAP SDK on Macintosh

Question: Is there a WAP SDK emulator available for the Mac platform? Answer: In a perfect WORE (Write Once, Run Everywhere) world, the Java-based emulators should run on Macintosh. I’m

DevX

WML With JSP and JavaBeans

Question: How do I create a simple WML application with JSP and Beans? Answer: Be sure to set your content output type appropriately and just have it generate the WML.

DevX

Variable Within Quotation

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

DevX

Sort Date in Descending Order

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

DevX

Include Files in VB 6.0

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

DevX

Group by Score with IIF()

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

DevX

If/Then Statement

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

DevX

Database Connectivity From Informix on Unix

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

DevX

Informix to SQL 7

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

DevX

Convert Informix File to Text File

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

DevX

WAP 1.0, 1.1, and 1.2 Deltas

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

DevX

Support for WMLScript

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

DevX

Skills for Wireless Development

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

DevX

AOL on Windows CE

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.

DevX

Viewing WML Files With Nokia Phone

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

DevX

Ruminations on Garbage Collection

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

DevX

Prefer Stringstream Objects to Strstream Objects

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

DevX

Invariants in C++

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

DevX

Restrictions on Using Memcpy()

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

DevX

What’s in a Block?

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

DevX

Re-entrant Functions

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