lesser-equity

Magazine
Go Back   Computer Juice > Computer Software > General Software Chat


Register


Reply
 
Thread Tools
  #1  
Old 4th Jan 2009, 12:12
Donor Group
 
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

Processor(s):
Quad Q6600 Kentsfield 2.66@3.45GHz
Motherboard:
Asus P5Q/L PRO (Intel P43, ICH10)
RAM Memory:
PNY XLR8 4GB @ 1066MHz
Graphics Card(s):
PNY nVidia GeForce 9400 GT 512MB
Sound Card:
Hard Drive(s):
Seagate HDBarracuda 1x 1TB 1x 250GB
Optical Drive(s):
LG (HD)GGCH20L / LG GH22NP20AUAA50B
Case / PSU:
Antec Sonata III & Earthwatts 500W
Cooling:
Stock
Network / Internet:
Gigabit LAN, FireWire & WG111v2
Monitor(s):
2 x Acer P193WAd
Operating System(s):
XP PRO x86/XP PRO x64/Win7 RC1 x64
  #2  
Old 4th Jan 2009, 23:29
Member Group
 
Is it possible to ask the teacher?

Wish i had programming course at my school...
  #3  
Old 5th Jan 2009, 06:37
Donor Group
 
Pm Spot, he might be able top help you.
  #4  
Old 5th Jan 2009, 09:55
Donor Group
 
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  
Old 7th Jan 2009, 00:06
Donor Group
 
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

Processor(s):
Athlon 64 3500+
Motherboard:
Asus A8N-VM CSM
RAM Memory:
Corsair PC3200 CL2 DDR-400 2GB
Graphics Card(s):
nVidia Geforce 6600 512MB
Sound Card:
Cherry RS 6000 M keyboard
Hard Drive(s):
Barracuda.7+ 2x200GB 58MB/s sustain
Optical Drive(s):
Samsung DVD-ROM TS-H352
Case / PSU:
Thermaltake Soprano
Cooling:
Stock
Network / Internet:
Telewest 2x20Mb/sec
Monitor(s):
SXGA flat panel
Operating System(s):
Slackware (2.6.27.7) (Fluxbox)
  #6  
Old 7th Jan 2009, 09:43
Donor Group
 
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
Reply

Register
Thread Tools




Arabic Bulgarian Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Finnish French German Greek Hebrew Hungarian Italian Japanese Korean Latvian Lithuanian Norwegian Polish Portuguese Romanian Russian Serbian Slovak Spanish Swedish Thai Turkish Ukrainian

Copyright ©2006 - 2009 Computer Juice.

Powered by vBulletin® Copyright ©2000 - 2009 Jelsoft Enterprises Ltd. SEO by vBSEO ©2009, Crawlability, Inc.