Generates a string of random characters (classic VB6/VBA only).
Public Declare Function RNG_String Lib "diCrPKI.dll" Alias "RNG_Bytes"
(ByVal strData As String, ByVal nDataLen As Long, ByVal strSeed As String,
ByVal nSeedLen As Long) As Long
nRet = RNG_String(strData, nDataLen, strSeed, nSeedLen)
[Not applicable]
If successful, the return value is zero; otherwise it returns a nonzero error code.
Not applicable
@deprecated. This is an alias for classic Visual Basic (VB6/VBA) users only. The output string may contain characters with value zero (and possibly traces of nuts). Storing binary information in a string is bad practice. This function was provided for one specific purpose and is deprecated. See Random Number Generator for more information on the RNG and seeds.