473,466 Members | 1,404 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Re: convert Office documents to jpg

On Oct 3, 10:42*am, peterko...@gmail.com wrote:
I would need to convert Office documents (Word, Excel, PowerPoint)
uploaded to a server to jpg or other img format to be used as a
preview image in asp.net application. I would need only an image of
the document's first page.

Is this possible to do?

regards, Peter
Hi Peter,

Microsoft Office embeds a thumbnail image within the files (File-
>Properties->Save Preview Picture). If this feature was enabled (by
default for PowerPoint only) you can try to get the thumbnail using
the code from the following article:

http://msdn.microsoft.com/en-us/library/aa289172.aspx

Hope this helps
Oct 3 '08 #1
0 1511

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Stefan Hirtbach | last post by:
Hi, I have to create and edit Excel and Word files with an server-side applikation. One problem is that on this server no Office will be accessible, so that I can't use normal automatisation. The...
2
by: William LaMartin | last post by:
I have created a program that allows for the automation of things in Word documents, like changing the values of DocVariables and the links to Excel Sheets. I did it using interoperoperatability,...
13
by: kbperry | last post by:
Hi all, Background: I need some help. I am trying to streamline a process for one of our technical writers. He is using Perforce (version control system), and is constantly changing his word...
0
by: Kevin G. Anderson | last post by:
What: CAUG Meeting - Visual Studio 2005 Tools for Office When: Thursday, April 27, 2006, 6PM Who: Jacob Cynamon, Microsoft Where: The Information Management Group 200 W. Monroe St. Suite...
6
by: PenguinPig | last post by:
Dear All Experts I would like to know how to convert a HTML into Image using C#. Or allow me contains HTML code (parsed) in Image? I also tried this way but it just display the character "<" &...
0
by: martinb2007 | last post by:
Hi everybody! From Buenos Aires. A brief explanation of the application I'm developing. Any help or discussion about welcomed. I'm developing a Documents Manager that allows to upload office and...
8
by: Franck | last post by:
Hi, I'm lookin for an external tool which could convert any type of documents to pdf from server. (with as much functionnalities as possible : schedule, pooling, multi thread, embedding font,...
4
by: amphibian1 | last post by:
I'm trying to write a C# application that iterates through a collection of Microsoft Office documents and standardizes the meta data of those documents (e.g. the author and company name). ...
3
by: Qian | last post by:
Hello guys! I want to convert office documents to txt files or string.And i want do this thing on a machine which havn't office 2003 installed. maybe i can use Apache POI,but i don't konw how to...
1
by: Michael Nemtsev [MVP] | last post by:
Hello peterkoman@gmail.com, Use search, it's first u need to start from :) It's discussed years ago in this group ...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.