Determining file Version via VB(word 95, 97, Excel 95 97) 
Author Message
 Determining file Version via VB(word 95, 97, Excel 95 97)

Hi,

I have an application that I wrote that when a user clicks on a file, it
will run the the file with whatever the file is associated with...ex:
myFile.DOC would launch word opening it with myFile.DOC.

What I would like to do is check the version of the file before running
it.  If currently me only have Word 95 yet receive Word 97 files.  I want
to be able to alert the user that the file is 97 and they will need to
view it with the Word 97 viewer program (which they have).  I used to
open the file for binary and then search the file for "Word.Document.8" .  
This normally meant the file was Word 97.  Seems something has changed as
it does not always have the above in a 97 doc.  Any ideas on how I can
verify what version the file is?  How about Excel?  I have nothing to
check for on excel files that I am aware of...

As always, any and all help is greatly appreciated.  Thanks

Geo...



Sun, 14 Oct 2001 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Access 95 and (Excel 97 and Excel 95)

2. Export Access 97 to Excel 95 via OLE

3. Excel 97 in Excel 95

4. Speed of Excel 97 vs Excel 95???

5. Keeping track of documents on Word 95/97 with VB

6. EXCEL : working with 95 AND 97 ???

7. Interface with Excel 97/95

8. DDE with Word 6, 95 or 97.

9. Converting VB code modules in Access 95 to Access 97

10. Office 95/97 and VB

11. VB 3.0 with Access 95 or 97

12. Converting Word 97 files to Word 95 via VB code...

 

 
Powered by phpBB® Forum Software