Problem UploadDownloadProgress in vb.net (2008)

Jun 1, 2013 at 6:12 PM
Edited Jun 1, 2013 at 6:17 PM
Hi,
i can not run UploadDownloadProgress with VB2008

if I remove "UploadDownloadProgress" works correctly

my code is:
Public Delegate Function FileOperationProgressChanged(ByVal file As ICloudFileSystemEntry, ByVal currentbytes As Long, ByVal sizebytes As Long, ByVal progressContext As Object) As Boolean


Private Shared Function UploadDownloadProgress(ByRef file As ICloudFileSystemEntry, ByRef currentbytes As Long, ByRef sizebytes As Long, ByRef progressContext As Object) As Boolean         
        Console.Write(".")
        Return True
    End Function

Private Sub Download ()

oDBox.DownloadFile(Folder, ListView2.Items(a).Text, PathLocale.Text, UploadDownloadProgress)
 
end sub
Thanks for your help