
SplitTbl – Split a string with multiple delimiters
‘ A variant of the Split function, that offers the following improvements’ You can pass a list of valid delimiters to the second argument’ (however, only single-char delimiters are accepted)’

‘ A variant of the Split function, that offers the following improvements’ You can pass a list of valid delimiters to the second argument’ (however, only single-char delimiters are accepted)’

Question: I have a datawindow d_case with a retrieval argument al_case_id. In this datawindow, I have two columns that are ddlbcolumn1 = judge with dddw_judge and column2 = contact with

Question: Is there a way to turn off the transaction log while importing data? We are having a problem with a 1105 error. Answer: You cannot turn the transaction log

‘ A clone of the VB6’s Replace function for use under VB5’ Note: many routines in this collection uses the Replace functionFunction Replace(Source As String, Find As String, ReplaceStr As

‘ Perform multiple substitutions in a string’ The first argument is the string to be searched’ The second argument is vbBinaryCompare or vbTextCompare’ and tells whether the search is case

You probably have seen some Web sites that automatically launch new windows in your browser to show an advertisement or an affiliated Web site. You can do this with the

Normally, all that is required to perform serialization of an object is to implement the java.io.Serializable interface. However, in some cases, you may wish to control how an object is

Class std::string provides two member functions that return the const char * representation of its object: string::c_str() and string::data(). c_str() returns a null-terminated const pointer to char that represents the

The java.lang.reflect defines a Method class that may be used to get information about a method in a Java class. Some of the main methods are: public native int getModifiers();

The TreeView control reports its current node–the selected node–only in its NodeClick event’s Node parameter. If you need to access the Node’s properties–such as Key or Text–outside this event, you

It is implementation-defined whether identical string literals are treated as distinct objects. Consider this code snippet: extern const char msg1[] = “hello”;extern const char msg2[] = “hello”;int main(){ bool eq

You can easily write JavaScript routines to validate form items before the form is submitted. Just define a form tag with a name and an action. The key is to

There’s a handy shortcut in Visual InterDev 6 that saves you from typing in the function code around an event. While you are in VID’s Source view, click the Script

The named return value is an automatic optimization that a compiler applies in order to eliminate the construction and destruction of a temporary object. When a temporary object is copied

If you’re issuing SELECT statements to a database using Java Database Connectivity (JDBC), a huge number of records can be returned by the java.sql.ResultSet. However, sometimes you will want to

Question: How do you dynamically load a style sheet? I’m trying to use the tag in the to load a style sheet. All the pages in my site use the

Sometimes a class needs to communicate with the object that created it. For example, I use a class to subclass grid controls so I can handle things such as tabbing

Select Case is commonly used to check different values of a specific variable or expression. You can also use Select Case to evaluate multiple expressions, by starting out with “Select

When you have to compare the results of floating point expressions, you can’t rely on the “=” operator due to the finite precision of Single or Double variables. To see

The DOS Copy command allows you to take the contents of two different files and put them one after the other into a third file. You can do the same

You can write JavaScript code that is more readable and maintainable by reducing object references. For instance, you can use the with() statement or nested with() statements in JavaScript to

As a database administrator, it is your responsibility to be concerned about anything that might affect the stability of your systems. In that vein, it is not enough to back

When a class is instantiated, the subsequent object is actually an instance of the most derived class in the class hierarchy. This means that even if a class is referenced

A cross cast converts a multiply-inherited object to one of its secondary base classes. To demonstrate what a cross cast does, consider this class hierarchy: struct A{ int i; virtual

Question: I have a table in SQL Server 6.5 with a datetime column that is used for tracking each time an event occurs; the date and time data are combined

When accepting input from an HTML form, you can’t assume that the user will provide the right type of data–you have to validate. For instance, if your application expects users

An extended stored procedure called xp_cmdshell causes SQL Server to spawn a command shell and execute the command given as a parameter. For example, xp_cmdshell ‘dir c:mssqlackup’ would return a

Instances of java.awt.Dialog are often used to display error messages in an application. As a result, you may find yourself writing a component that displays a message in a Dialog

You can use typeid to retrieve the type information of non-polymorphic objects and fundamental types. However, the result in this case refers to the static type of the object rather

This addin lets you quickly create a collection class, i.e. a CLS module that implements a class that behaves like a collection but only works with a well-defined type of