Andy E

What's the best way to check if a file exists in a gadget subfolder And what's the best way to get a list of all files within a subfolder

Andy




Re: Sidebar Gadget Development File operations

Andy E

damn you MSDN! System.Gadget.itemFromPath isn't listed in the sidebar reference.

If it was, I'd have spent the last 2 hours doing something better with my time! Please update MSDN as soon as you can so developers aren't scratching their heads for ages.

Andy






Re: Sidebar Gadget Development File operations

Jonathan Abbott

Andy E wrote:

damn you MSDN! System.Gadget.itemFromPath isn't listed in the sidebar reference.



Don't you mean System.Shell.itemFromPath, which is here




Re: Sidebar Gadget Development File operations

Andy E

D'oh! No wonder i couldn't find it :) maybe I owe Microsoft an apology ;)

Andy