July 20, 2001

DevX - Software Development Resource

Returning Multiple Values From A Method

Suppose you have some C++ code that you’d like to convert to the Java programming language. While doing the conversion, you come across the following code: void getStats(int data[], int&

DevX - Software Development Resource

Prevent Timer Re-Entry

When using a timer control, it is important to prevent re-entry.This occurs when the processing in the _Timer event takes long enough to still be executing when the next _Timer

DevX - Software Development Resource

Passing Objects ByVal in VB

You can pass Object parameters to a sub ByVal just as you pass other parameters. But what is the difference between passing Objects ByVal and ByRef, since an object variable

DevX - Software Development Resource

Declaring Destructors Virtual

Writing basic classes needs no more definition from the programmer than just declaring a few member functions and variables. But, what if you needed to design a class that was

DevX - Software Development Resource

Remove a Character From a String

Use the following code: Public Function RemoveChar(ByVal str As String, ByVal strChar As String) As String ‘ Function: RemoveChar ‘ ‘ Desc: Extracting requested character from given string. Return value