using code, is it possible to publish a powerpoint file to a sharepoint library?

or

anyone care to share code that would create a new powerpoint doc and insert a slide from another .ppt doc?


i have 100+ .ppt files that won't generate thumbnails in sharepoint... unless i upload them one-at-a-time.