Sample code for 30+ languages & platforms
Visual Basic 6.0 Requires Chilkat v11.0.0+

Transition from MailMan.GetUidls to MailMan.FetchUidls

Provides instructions for replacing deprecated GetUidls method calls with FetchUidls. The code below uses the replacement API without constructing the deprecated returned array.

Chilkat Visual Basic 6.0 Downloads

Visual Basic 6.0
Dim success As Long
success = 0

Dim mailman As New ChilkatMailMan

'  ...
'  ...

'  Replace the deprecated GetUidls method using FetchUidls.
'  Your application creates a new, empty StringTable object which is passed 
'  in the last argument and filled upon success.

Dim st As New ChilkatStringTable
success = mailman.FetchUidls(st)
If (success = 0) Then
    Debug.Print mailman.LastErrorText
    Exit Sub
End If