![]() |
|
#1
|
||||||||||||
|
||||||||||||
|
Ok, school project, we have to make 2 Vista gadgets, one simple version and 1 more complex with a better UI.
I started with simple one, consists of gadget.xml (manifest) and gadget.htm (main file) along with icon.png (the icon, surprisingly) Yes I know, very simple. But when I put it in a folder in the gadgets folder named projectsimple.gadget and then open the sidebar "add gadget" dialogue box, it doesn't show up. I havn't the faintest idea why. But also if I download a gadget it gets recognised by Windows as gadget so it unpacks itself nice and neatly, mine however just opens and shows me the 3 files. I tried compressing it, but that just resulted in a projectsimple.gadget.zip file, equally useless, just extracts and then shows me the 3 files. So how do I compress it to .gadget? TIA, Ollie.
__________________
__________________
"Why did they [PS3 Slim] stick with the UFO landing on a rectangle look" --- Nilay Patel; Engadget Ep. 160 My System: FordyPC
|
|
#2
|
|||
|
|||
|
Is it possible to ask the teacher?
Wish i had programming course at my school... |
|
#3
|
|||
|
|||
|
Pm Spot, he might be able top help you.
|
|
#4
|
|||
|
|||
|
Can't ask teacher I'm afraid - you're on your own for assesments.
Ok, thanks kanoakavirus, I'll try.
__________________
"Why did they [PS3 Slim] stick with the UFO landing on a rectangle look" --- Nilay Patel; Engadget Ep. 160 |
|
#5
|
||||||||||||
|
||||||||||||
|
Have a look at make.bat toward the end of http://msdn.microsoft.com/en-us/magazine/cc163370.aspx
__________________
That page looks as though it has everything you need to be able to step by step check what you're doing with what they say works. Somewhere you ought to find a missing essential. Keep talking here, I'm sure we can get it running. My System: Tim
|
|
#6
|
|||
|
|||
|
Ok I tried that.. it was pretty much what I'd done already, but the problem seems to be the format.
If i zip it up then i have project.zip the link talks of "renaming it to .gadget" so if I right-click and rename then make it project.gadget its still a zip file, it hasnt changed the format, merely the name making it project.gadget.zip how do I change the format? some files you can justopen in notepad and resave as a different format. for example if i have command.txt containing "command.com" it will be just a text file that opens in notepad. if I open it in notepad I can then resave it as command.bat and i magically have command prompt. But I obviously cant do this with a folder.. so how am I to change its compression format?
__________________
"Why did they [PS3 Slim] stick with the UFO landing on a rectangle look" --- Nilay Patel; Engadget Ep. 160 |