Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Basics
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 13th, 2003, 05:18 AM
Registered User
 
Join Date: Sep 2003
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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:
1.CreateObject("Word.Application")
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.
Reply With Quote
  #2 (permalink)  
Old September 22nd, 2003, 02:21 PM
Authorized User
 
Join Date: Jun 2003
Location: , , .
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to nlicata
Default

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...

Nick
Reply With Quote
  #3 (permalink)  
Old September 25th, 2003, 03:57 AM
Registered User
 
Join Date: Sep 2003
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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....

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert PDF, Word file to HTML Snowby PHP How-To 0 March 18th, 2008 08:08 AM
Convert PDF to JPG harpua PHP How-To 1 September 17th, 2007 06:04 AM
Convert JPG to TIFF eresina Pro VB 6 9 January 3rd, 2005 03:37 PM
convert Word file to jpg w/o using clipboard lam_bon_bon VB How-To 0 September 13th, 2003 05:27 AM
Howto Convert Word file to JPG in IIS lam_bon_bon Classic ASP Professional 0 September 13th, 2003 05:23 AM



All times are GMT -4. The time now is 10:01 AM.


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