Re: vb.net 2010 compatibility (General questions)
Klinzter ,
Here is VB.NET sample.
Please add Implements wodHttpDLXComLib.IwodHttpNotify line by yourself and Events will be created automatically. When you copy paste that line Events will not be created.
[code]
Implements wodHttpDLXComLib.IwodHttpNotify
Dim http(5) As wodHttpDLXComLib.wodHttpDLXCom
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim i As Integer
For i = 0 To 4
http(i) = New wodHttpDLXComLib.wodHttpDLXCom
http(i).Notification = Me
Next
End Sub
Public Sub ClientCertRequired(ByVal Owner As wodHttpDLXComLib.wodHttpDLXCom) Implements wodHttpDLXComLib.IwodHttpNotify.ClientCertRequired
End Sub
Public Sub Connected(ByVal Owner As wodHttpDLXComLib.wodHttpDLXCom) Implements wodHttpDLXComLib.IwodHttpNotify.Connected
End Sub
Public Sub Disconnected(ByVal Owner As wodHttpDLXComLib.wodHttpDLXCom, ByVal ErrorCode As Integer, ByVal ErrorText As String) Implements wodHttpDLXComLib.IwodHttpNotify.Disconnected
End Sub
Public Sub Done(ByVal Owner As wodHttpDLXComLib.wodHttpDLXCom, ByVal ErrorCode As Integer, ByVal ErrorText As String) Implements wodHttpDLXComLib.IwodHttpNotify.Done
End Sub
Public Sub HeadersDone(ByVal Owner As wodHttpDLXComLib.wodHttpDLXCom) Implements wodHttpDLXComLib.IwodHttpNotify.HeadersDone
End Sub
Public Sub HostCertificate(ByVal Owner As wodHttpDLXComLib.wodHttpDLXCom, ByVal Cert As wodHttpDLXComLib.ICertificate, ByVal ErrorCode As Integer, ByVal ErrorText As String, ByRef Accept As Boolean) Implements wodHttpDLXComLib.IwodHttpNotify.HostCertificate
End Sub
Public Sub Progress(ByVal Owner As wodHttpDLXComLib.wodHttpDLXCom, ByVal Position As Integer, ByVal Total As Integer) Implements wodHttpDLXComLib.IwodHttpNotify.Progress
End Sub
Public Sub Progress64(ByVal Owner As wodHttpDLXComLib.wodHttpDLXCom, ByVal PositionLo As Integer, ByVal PositionHi As Integer, ByVal TotalLo As Integer, ByVal TotalHi As Integer) Implements wodHttpDLXComLib.IwodHttpNotify.Progress64
End Sub
Public Sub Redirect(ByVal Owner As wodHttpDLXComLib.wodHttpDLXCom, ByRef URL As String, ByRef Allow As Boolean) Implements wodHttpDLXComLib.IwodHttpNotify.Redirect
End Sub
Public Sub StateChange(ByVal Owner As wodHttpDLXComLib.wodHttpDLXCom, ByVal OldState As wodHttpDLXComLib.HttpStates) Implements wodHttpDLXComLib.IwodHttpNotify.StateChange
End Sub[/code]
Drazen
Complete thread:
- vb.net 2010 compatibility - Klinzter, 2009-11-29, 08:01
- Re: vb.net 2010 compatibility - wodDamir, 2009-11-29, 14:54
- Re: vb.net 2010 compatibility - Klinzter, 2009-11-29, 23:08
- Re: vb.net 2010 compatibility - wodDamir, 2009-11-30, 00:33
- Re: vb.net 2010 compatibility - Klinzter, 2009-12-03, 00:50
- Re: vb.net 2010 compatibility - wodDamir, 2009-12-03, 01:12
- Re: vb.net 2010 compatibility - Klinzter, 2009-12-03, 01:22
- Re: vb.net 2010 compatibility - wodDamir, 2009-12-03, 11:34
- Re: vb.net 2010 compatibility - Klinzter, 2009-12-03, 18:35
- Re: vb.net 2010 compatibility - woddrazen, 2009-12-03, 21:16
- Re: vb.net 2010 compatibility - Klinzter, 2009-12-03, 23:15
- Re: vb.net 2010 compatibility - woddrazen, 2009-12-03, 23:54
- Re: vb.net 2010 compatibility - Klinzter, 2009-12-04, 00:39
- Re: vb.net 2010 compatibility - woddrazen, 2009-12-04, 09:36
- Re: vb.net 2010 compatibility - Klinzter, 2009-12-04, 14:23
- Re: vb.net 2010 compatibility - woddrazen, 2009-12-04, 14:46
- Re: vb.net 2010 compatibility - Klinzter, 2009-12-05, 20:35
- Re: vb.net 2010 compatibility - woddrazen, 2009-12-04, 14:46
- Re: vb.net 2010 compatibility - Klinzter, 2009-12-04, 14:23
- Re: vb.net 2010 compatibility - woddrazen, 2009-12-04, 09:36
- Re: vb.net 2010 compatibility - Klinzter, 2009-12-04, 00:39
- Re: vb.net 2010 compatibility - woddrazen, 2009-12-03, 23:54
- Re: vb.net 2010 compatibility - Klinzter, 2009-12-03, 23:15
- Re: vb.net 2010 compatibility - woddrazen, 2009-12-03, 21:16
- Re: vb.net 2010 compatibility - Klinzter, 2009-12-03, 18:35
- Re: vb.net 2010 compatibility - wodDamir, 2009-12-03, 11:34
- Re: vb.net 2010 compatibility - Klinzter, 2009-12-03, 01:22
- Re: vb.net 2010 compatibility - wodDamir, 2009-12-03, 01:12
- Re: vb.net 2010 compatibility - Klinzter, 2009-12-03, 00:50
- Re: vb.net 2010 compatibility - wodDamir, 2009-11-30, 00:33
- Re: vb.net 2010 compatibility - Klinzter, 2009-11-29, 23:08
- Re: vb.net 2010 compatibility - wodDamir, 2009-11-29, 14:54