Shoutbox

vb.net help - Events? - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: vb.net help - Events? (/showthread.php?tid=74055)

vb.net help - Events? by n0obie4life on 04-30-2007 at 05:26 PM

Hi,

I need some help with vB.net, I'm using Visual Basic 2005 Express Edition here..

Okay so basically I added a reference into my project and now I'm trying to use this event:

Event TrackChanged(ByVal bLocationChanged As Boolean)
     Member of: Foobar2000.Playback07._IVBPlaybackEvents_Event

in my project. How am I supposed to go about doing this?

I tried this code, but it seemingly doesn't seem to work..

code:
    Friend WithEvents fooEvent As Foobar2000.Playback07
    Sub fooEvent_TrackChanged(ByVal bLocationChanged As Boolean) Handles fooEvent.TrackChanged
        MsgBox("bleh")
    End Sub

Thanks!