08-27-2009 01:52 AM
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
08-27-2009 09:50 AM
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
08-27-2009 10:49 AM
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.
08-27-2009 02:01 PM
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.
08-28-2009 09:08 AM
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