p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Classic ASP Basics (http://p2p.wrox.com/forumdisplay.php?f=61)
-   -   Howto Convert Word file to JPG in IIS (http://p2p.wrox.com/showthread.php?t=3833)

lam_bon_bon September 13th, 2003 05:18 AM

Howto Convert Word file to JPG in IIS
How Can I to Convert a word file in to JPG page by page with ASP on IIS?

I read some docs teach how under VB:
2.Set Selection to the range to convert
3.Call Selection.savetopicture() to save the data into clipboard
4.Call Savepicture Clipboard.Getdata(), jpgfilepath to save.

But in IIS, Clipboard and SavePicture is not available.

Could anyone suggest how to do it in detail?

Thanks a lot.

nlicata September 22nd, 2003 02:21 PM

Dont know how to do that, but why not display the page in IE as a word doc using the
enctype = application/MSWORD line?

Just a thought...


lam_bon_bon September 25th, 2003 03:57 AM

Thanks for you suggestion.

But I need to convert it for two reason.

Doc file always require the web client to have word installed.
Doc file load much slower for COM setup and download size.

I later found document from microsoft that said automation of office com on web server is not recommanded....

Seems there is no good way to convert doc to jpg under IIS anyway....

All times are GMT -4. The time now is 08:37 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.