Tip Bank

DevX - Software Development Resource

Posting XML to Another Server

Question: I need to post an XML document from one server to another server. Can I use XMLHTTPRequest for this? Answer: Yes, the XMLHTTP Request object can be used to

DevX - Software Development Resource

Is Informix ANSI ?

Question: I have three quick questions: Is the Informix standard ANSI? Does it accept the function CAST()? What is the largest size char that I can declare? Answer: Informix conforms

DevX - Software Development Resource

Data Conversion

Question: What is the most efficient method of converting Informix data in a Unix operating system to text or dbf data in an NT operating system (size = 8GB)? Answer:

DevX - Software Development Resource

Function to create a folder/subfolder

Question: How can I write a function in C++ that would create a folder/subfolder on the hard-disk? Answer: Standard C or C++ don’t define such a function. However, most platforms

DevX - Software Development Resource

Extending Error Object

Question: I want to create a system error object that will take care of system errors and database errors. Should I inherit it from the error object, or should I

DevX - Software Development Resource

Fract – The fractional portion of a number

‘ The fractional part of a floating-point number’ note that negative numbers return negative valuesFunction Fract(number As Variant) As Variant Fract = number – Fix(number)End Function

DevX - Software Development Resource

Rnd2 – A random value in a range

‘ A random number in the range (low, high)Function Rnd2(low As Single, high As Single) As Single Rnd2 = Rnd * (high – low) + lowEnd Function