devxlogo

Tip Bank

MakePath – Create a nested directory

‘ create a nested directory” it’s similar to MkDir, but it also creates’ all intermediary sub-directoriesSub MakePath(ByVal path As String) Dim i As Integer, ercode As Long On Error Resume

GetFiles – Returns all the files in a directory

‘ Returns a collection holding all the filenames that’ match a given filespec and search attributes.Function GetFiles(filespec As String, Optional Attributes As VbFileAttribute) _ As Collection Dim filename As String

Taking an Address of a Member Function

The name of an ordinary function is implicitly converted to its memory address. For example: typedef int (*pf) ();int func();pf=func; // OK, ‘func’ is implicitly converted to ‘&func’ However, member

Query from One Informix Database to Another

Question: I have two Informix databases existing on a Unix server. How do I write a stored procedure in one database that can access data from the other database? Answer: