Hallo
Wer kann mir weiter helfen?
Ich bastle da an einem Event - Ereignis in VB6 rum, komme aber nicht auf das gewünschte Resultat, da es einfach nicht funktionieren will. Also was ist vorhanden:
- Eine Standard Exe mit einer Form, dort steht:
Public WithEvents FileDownload As clsDownload
’ Download-Fortschritt
Private Sub FileDownload_Progress(ByVal BytesLoaded As Long, ByVal FileSize As Long)
msgbox „Event Ok“
End Sub
- Eine Dll mit Klassenmodul clsDownload. In dem Klassenmodul steht:
Public Event Progress(ByVal BytesLoaded As Long, ByVal FileSize As Long)
Public Function ArrivalProgress(ByVal BytesTotal As Long)
…
RaiseEvent Progress(lngFileSize, lLenBody)
…
End Function
Wo mache ich da den grundlegenden Fehler? Besten Dank für alle Hinweise.
Grüsse Sebastian