Friendmap (VB Desktop)

Aug 9, 2009 at 8:34 PM

I can see the C# source for Friendmap in the Source Code on this site but I can't implement it in VB.

 

Private Sub FriendList1_FriendSelected(ByVal sender As System.Object, ByVal e As facebook.desktop.FriendSelectedEventArgs) Handles FriendList1.FriendSelected

        Profile1.User = e.User

        FriendMap1.Friends.Clear()

    End Sub

When I click on my FriendList1 it throws a null exception for:

FriendMap1.Friends.Clear()