Back to product page
- Introduction
- Overview
- License agreement
- Configuration file creation
- Getting Started
- Objects
- Enumerations
- wodAppUpdate
- Methods
- Properties
- AutoRestart
- Blocking
- CmdAfter
- CmdBefore
- CmdLine
- DebugFile
- DialogNoteText
- DialogNoteURL
- DialogText
- Files
- ForceRestart
- GlobalTerminate
- Login
- Messages
- Notification
- Password
- PrevExist
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- ReplaceRule
- RequireAdmin
- ServiceIsRunning
- Signature
- State
- StateText
- Timeout
- UpdaterName
- UpdaterTimeout
- URL
- URLHandler
- UserIsAdmin
- Version
- Visible
- WinVersion
- Events
- Notifications
- UpdFile
- UpdFiles
- UpdMessage
- UpdMessages
- UpdProcess
- UpdProcesses
- How to get support?
- Technical information
- Fast notifications interface
- Error list
DownloadDone method
Called when component finishes downloading all files.
Syntax
- Basic
object.DownloadDone Owner, ErrorCode, ErrorText
The DownloadDone(object,Owner,ErrorCode,ErrorText) syntax has these parts:
The DownloadDone(object,Owner,ErrorCode,ErrorText) syntax has these parts:
object | An expression evaluating to an object of type IwodAppUpdateNotify. |
Owner | Required. A wodAppUpdate object. Reference to wodAppUpdateCom instance that called this notification method. |
ErrorCode | Required. A Long value. Holds error number, if any. |
ErrorText | Required. A String value. Holds text description of the error, if any. |
Remarks
NOTE: This method is called only if you implemented IwodAppUpdateNotify interface in your application, and wodAppUp.Notification property has received reference to instance of your implementation. This notification method is called when wodAppUpdate has downloaded all neccessary files. At this point it has also created temporary executable file that will perform file replacement. You can just call Update from here, if you want actual replacement to take place, or you can change configuration files, perform neccessary steps etc. Typically, you can use code like this in this notification method:Private Sub Private Sub IwodAppUpdateNotify_DownloadDone(ByVal Owner As wodAppUpdateCOMLib.IwodAppUpdateCom, ByVal ErrorCode As Long, ByVal ErrorText As String)
If Not ErrorCode Then
Upd1.Update
Else
MsgBox ErrorText, vbOKOnly, "Error"
End If
End Sub