Re: vb.net 2010 compatibility - WeOnlyDo Discussion board

Re: vb.net 2010 compatibility (General questions)

by woddrazen, Friday, December 04, 2009, 14:46 (5467 days ago) @ Klinzter

Klinzter ,


You can add wodHttpDLX Tag Property in Form Load code so you know which instance fired which Event.

Here is code you need to change:
[code]Dim i As Integer
For i = 0 To 4
http(i) = New wodHttpDLXComLib.wodHttpDLXCom
http(i).Notification = Me
http(i).Tag = i 'add this line
Next[/code]
Then inside wodHttpDLX Events you can find out which instance fired Event using Owner.Tag.

Something like this:
[code]call Parse_Data(Owner.Tag)[/code]
Drazen


Complete thread: