|
![]() |
Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming | |
Request, help please!
|
||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
.
![]() |
Alright, I was just wondering if I could get an estimate of how much time/work it would take to make a Zune Gadget for Windows Sidebar in Vista.
There is not one published by Microsuck for some reason, and none of the wmp gadgets will work with my Zune library. I would just like a light weight gadget that will play my Zune songs so that I don't have to have the Zune program up and running just to hear music. Thank you and helpful posts will be recognized
|
|
|
|
|
#3 (permalink) | |||||||||||||
|
Ding ding ding ding ding!
![]() |
I'm giving this page a thorough read. Maybe I can help, though I don't have Vista so I can't really be sure.
__________________
Watercooling Loop: MCP655 Vario -> Black Ice GTX360 -> Stinger Diamond Max -> Heatkiller GPU-X² -> MicroRes
|
|||||||||||||
|
|
|
|
#6 (permalink) | ||||||||||||
|
Programmer
|
Unless there is an existing ActiveX COM object that can play songs off your Zune, you will need to make your own. JScript will not be able to do it by itself.
__________________First off, make a .net (VB.NET or C# most likely) application that can play songs from your Zune. Then use that to make a COM library, register it and load it from JScript in the gadget. I suspect that the hardest part is being able to even load songs off your Zune, unless it appears as a normal generic storage device (like a Z: drive in My Computer or whatever) I tried doing this with CoreTemp (I just made a few little C# functions to read the shared memory file with interop) but I had problems with access. Basically, the gadget worked great in IE7 because IE7 asked me if I wanted to allow the ActiveX so I just had to click "Yes" and it worked, but the Sidebar didn't ask and just blocked it. You can make the COM DLL in unmanaged C++ if you want but it's much easier in VB.NET/C# (or even managed C++). Good luck
Last edited by ghell : 07-23-08 at 10:27 AM |
||||||||||||
|
|
|
|
|
#8 (permalink) | ||||||||||||
|
Programmer
|
I'll try to simplify.
__________________JScript cant do it on its own. You need to make a dll that can do it and then call that. It needs to be an ActiveX/COM dll and registered on the computer so that JScript can call it. Start off by making an exe that can do what you want, then get rid of the "main" method and compile it to an ActiveX COM dll, then register that dll on the computer and call it from JScript. If you still don't understand, give up. It's not easy and not being able to comprehend the basics is a good indication that you will not be able to do this without years of reading and practice.
|
||||||||||||
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|