Sample code for 30+ languages & platforms
Visual Basic 6.0

Transition from MailMan.LastJsonData to MailMan.GetLastJsonData

Provides instructions for replacing deprecated LastJsonData method calls with GetLastJsonData.

Chilkat Visual Basic 6.0 Downloads

Visual Basic 6.0
Dim mailman As New ChilkatMailMan

' ...
' ...

' ------------------------------------------------------------------------
' The LastJsonData method is deprecated:

Dim jsonObj As ChilkatJsonObject
Set jsonObj = mailman.LastJsonData()
If (mailman.LastMethodSuccess = 0) Then
    Debug.Print mailman.LastErrorText
    Exit Sub
End If

' ...
' ...

' ------------------------------------------------------------------------
' Do the equivalent using GetLastJsonData.
' Your application creates a new, empty JsonObject object which is passed 
' in the last argument.

Dim jsonOut As New ChilkatJsonObject
mailman.GetLastJsonData jsonOut