iPodServiceLib - Vb.net

Discussion in 'iOS Development' started by StaticFX, Jun 24, 2009.

  1. StaticFX

    StaticFX New Member

    Joined:
    Jan 30, 2009
    Messages:
    483
    Likes Received:
    0
    Device:
    iPhone 4S (Black)
    I wasnt sure where to put this...

    I am trying to figure out how to utilize the iPodServiceLib.dll in vb.net
    I can load it in, and see all the functions... but i cant seem to get anything to work
    Here is my code... (yes this is all of it, just starting small)
    Code:
    Imports IpodServiceLib
    
    Public Class Form1
        Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
            Dim iPod As IiPodManager = New iPodManager
            iPod.Login(4)
            Dim iPodID As Integer = iPod.FindFirstiPod(4)
            Dim DeviceName As String = iPod.GetDeviceUniqueID(4, iPodID)
            iPod.Logout(4)
            MsgBox(DeviceName)
        End Sub
    End Class
    
    very simple, trying to get the device name...


    ERRORS on this line: Dim iPodID As Integer = iPod.FindFirstiPod(4)

    "The method or operation is not implemented"

    any help would be great!!!!

Share This Page