LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to find Activex iTunes library from Activex Automation control with Labview

Hi everyone,

 

I'm trying to access iTunes library from activex controls and I can't find it. I don't know much about activex until I tried to complete this labview exercise. Is there a general way of identfying the correct libraries for the activex controls?. When I right click the automation control and browse the list, it's difficult to identify what is needed especially for a novice. Anyways, I've attached a screenshot of the code from the exercise. The automation control label is "iTunesLib.IiTunes", I can't find it. Please I'll appreciate any help here.

 

Thanks

0 Kudos
Message 1 of 5
(4,306 Views)

Mbdeck wrote:

Hi everyone,

 

I'm trying to access iTunes library from activex controls and I can't find it. I don't know much about activex until I tried to complete this labview exercise. Is there a general way of identfying the correct libraries for the activex controls?. When I right click the automation control and browse the list, it's difficult to identify what is needed especially for a novice. Anyways, I've attached a screenshot of the code from the exercise. The automation control label is "iTunesLib.IiTunes", I can't find it. Please I'll appreciate any help here.

 

Thanks


Doe you have iTunes installed on your Computer?

 

Rolf Kalbermatter

Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 5
(4,276 Views)

Assuming it is installed the item you are looking for in the list when you right click Select ActiveX Class >Browse... is "iTunes 1.12 Type Library Version 1.c", of course your version information might differ.  It took me a couple of times to find the right item too.

0 Kudos
Message 3 of 5
(4,255 Views)

Hi Kennon,

 

I installed iTunes on my computer and found the "iTunes 1.12 Type Library version 1.c". After selecting it and hitting browse again, the "Select Automation Library to Open" dialog box came up and I tried selecting one of the free songs that come with iTunes downloads but it wasn't working. I get a message saying that the music file is empty.  Do you know how to proceed from this point?.  Again thanks for the help.  

0 Kudos
Message 4 of 5
(4,241 Views)

Sorry all I've ever done with it is write a simple VI to sync my iPhone that I scheduled to run every hour to get all my updates to Outlook (see below I just had to try VI Snippet).  You'll probably want to review Apple's documentation for the API, I think this links to it iTunes COM for Windows SDK (ZIP), to find out what the properties & methods do and the correct way to use them.

 

Kennon

Sync iPhone.png

0 Kudos
Message 5 of 5
(4,221 Views)