473,324 Members | 2,196 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

how to convert microsoft office document,thx

2
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 use java in c#.
Can you help me?Any where thank you!
Jan 21 '08 #1
3 1396
Xexon
7
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 use java in c#.
Can you help me?Any where thank you!
I doubt you can get the Office dll's to do what you want if you don't have Office installed on the server. I have worked quite a bit with the issue myself and simply adding the Microsoft.Office.Interop.Word and Microsoft.Office.Core references doesn't quite cut it as they try to get hold of other dll's which you'll only have when Word is in fact installed.
Jan 21 '08 #2
Qian
2
I doubt you can get the Office dll's to do what you want if you don't have Office installed on the server. I have worked quite a bit with the issue myself and simply adding the Microsoft.Office.Interop.Word and Microsoft.Office.Core references doesn't quite cut it as they try to get hold of other dll's which you'll only have when Word is in fact installed.
Really?Thank you very much!!!
but each time when the xls file have many many rows and columns,it's so slowly.
Do you have any way to deal with this ??
Jan 21 '08 #3
Xexon
7
Really?Thank you very much!!!
but each time when the xls file have many many rows and columns,it's so slowly.
Do you have any way to deal with this ??
Hmmm optimizing that part of the procedure could aswell prove troublesome. I haven't myself worked with Excel yet, tho I might have to look into the DLLs for that aswell soon. I have only worked with the DLLs for word and aslong as the documents aren't grossely oversized the speed there is acceptable.
Jan 21 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Tony Gambee | last post by:
I have a system that we have had running for many years. We keep our file in 2000 format, but develop in 2003 environment... ussually we use our test computer with 2000 loaded to convert back to...
2
by: Christopher Beltran | last post by:
I am currently trying to replace certain strings, not single characters, with other strings inside a word document which is then sent to a browser as a binary file. Right now, I read in the word...
1
by: Ashutosh | last post by:
How can i convert Word file to txt file in ASP.NET using CSharp?
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,...
0
by: Nitin | last post by:
How can I create and use Tables in Microsoft word document through VB .net? I've been using the following code for printing an envelope using paragraphs. Tables have to be used for better...
3
by: Chris Davoli | last post by:
I've got a requirement to build a page using MS WORD and then have the page show up on a web site. I know I can do a binary write and open up the WORD document in IE plugin. Don't really want to do...
2
by: Ch Pravin | last post by:
Hi All: I am having the following xml which i need to convert to excel using xslt. Please help me out. Afghanistan.xml <?xml version="1.0" encoding="utf-16"?> <Languages...
4
by: =?Utf-8?B?QXJ0?= | last post by:
Hello, I saw this posting and it is the closest place to ask this question. I am simply trying to create a Word document from a VB application I am wrting with Visual Studio 2005. I cut a...
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 ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.