473,810 Members | 3,135 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Get application name of Ms Word document

I'm using aspose.words (www.aspose.com) to extract regular expression
matches from multiple files within a folder. Unfortunately,
aspose.words does not support pre-Word 97 documents. How can i
retrieve the Word version of the .doc file, so i can avoid errors?

Thanks.

Apr 30 '07 #1
1 1284
Without having word 97 on the machine I am not sure. The Aspose components
work without having word in the system so my guess i sthat they raed the
formats nativly.

Can't you just use the Aspose stuff and then catch the exception that gets
thrown?

Unless you can compare the 97 doc with a more current version and see what
you can read to and check it yourself before using the Aspose stuff.
"guido" <gu***********@ urscorp.comwrot e in message
news:11******** *************@n 59g2000hsh.goog legroups.com...
I'm using aspose.words (www.aspose.com) to extract regular expression
matches from multiple files within a folder. Unfortunately,
aspose.words does not support pre-Word 97 documents. How can i
retrieve the Word version of the .doc file, so i can avoid errors?

Thanks.

May 1 '07 #2

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

Similar topics

4
16191
by: Microsoft | last post by:
I'm trying to display a word document inside a web page, but everytime I do I get this error: Error Type: Microsoft VBScript runtime (0x800A0046) Permission denied: 'CreateObject' Does anybody know the correct way to do this? I don't want to link to a document, but rather display a word file inside the asp page.
1
3044
by: Bernd Muent | last post by:
Hi together, I am using the following code in Visual Basic to open Word or Excel applications: Word: Dim w As Word.Application w = CType(CreateObject("Word.application"), Word.Application) w.Application.Documents.Open("test.doc") With w.Application.Selection
4
11136
by: Yohancef Chin | last post by:
Hi, Being fairly new to .NET I am looking for a way to call MS Word from an event on a webform, and after the user is finished save that created document to an SQL Server database. Has anyone done this? Does it seem possible? I followed the instructions from a sample on the Microsoft knowledge base but it only seems to work when creating a VB.NET Windows .EXE, not an VB.NET ASP app.
1
3965
by: Novice | last post by:
Hi all, I'm using C# in my ASP.NET application and cannot seem to access the MS word libraries to create a word document for some reason. I have used both of these tutorials: http://www.dotnetspider.com/Technology/KBPages/587.aspx http://www.codeproject.com/aspnet/wordapplication.asp But if I follow the instructions provided in the second tutorial I just end up with the error: C:\myDir\myWebPage.aspx.cs(69): The type or namespace name...
2
1303
by: ANSWER | last post by:
Hi, I want to make, or is is possible to make database with function to update words in saved document. For example, in my database I enter word in German and English, and when when I press update button I want to German word replace English word in Selected document (.doc, .html): | No | German word | English word | | 1. | Wagen | Car |
0
1057
by: ANSWER | last post by:
I want to make, or is is possible to make database with function to update words in saved document. For example, in my database I enter word in German and English, and when when I press update button I want to German word replace English word in Selected document (.doc, .html): | No | German word | English word | | 1. | Wagen | Car | | 2. | Volks | Folks | ......
7
1812
by: Niyazi | last post by:
Hi, I am developing small insurance application using VB.NET and SQL server 2000. My tables in SQL server are: tbl_Customer (stores the custmer information) tbl_CustImage (stores the customer picture and signature) tbl_InsuranceCompanies (stores the Insurance companies information) tbl_InsuranceType (stores the insurance type)
6
10300
by: MayBoy | last post by:
Hi There I am trying to use the Goto method of the Word ActiveX object. I am trying to open a document and go to a named bookmark. If I use this code in VB it works, so I'm sure the approach is possible, I just can't get JavaScript to work with it. Here is the code I am using, the error I get from IE is Object Expected: Hope someone can help! Any help would be much appreciated
4
2143
by: sunil | last post by:
Hi, I have to open a word document from my aspx page.The Page_Load method contains the following code System.IO.TextWriter tx = Response.Output; System.IO.StreamReader sr = new System.IO.StreamReader(this.Path); Response.ContentType = "application/msword"; tx.Write(sr.ReadToEnd()); sr.Close();
13
35090
by: Downugo | last post by:
This is my first post here - yay! This is my function that I am calling (just passing test arguments): function makeDoc($name,$content){ // starting word $word = new COM("word.application") or die("Unable to instantiate Word"); echo "Loaded Word, version {$word->Version}\n"; //bring it to front $word->Visible = 1;
0
10644
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10393
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9200
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7664
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6882
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5690
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4334
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 we have to send another system
2
3863
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3015
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.