Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default dsofile.dll and Excel 2007 file format

Hi,
i intend to read document properties (meta info) of an Excel file with
dsofile.dll.
I read that it works fine with Excel 2003 file format.

Does ist also work with Excel 2007 file format?

TIA
Reinhard

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default dsofile.dll and Excel 2007 file format

Yes, it works fine with Office 2007 files.

Regards,
Peter T

"Reinhard Thomann" wrote in message
...
Hi,
i intend to read document properties (meta info) of an Excel file with
dsofile.dll.
I read that it works fine with Excel 2003 file format.

Does ist also work with Excel 2007 file format?

TIA
Reinhard



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default dsofile.dll and Excel 2007 file format

Thanks.
It works fine with dsofile.dll 2.1 as long as file extension is *.xlsx
If i change file extension to something else e.g. *.aaaa it fails.
Excel file format 97-2003 doesn't habe this restriction!

How can i overcome this behavior, because i don't like
to change the file extension of my application?

TIA
Reinhard


"Peter T" <peter_t@discussions schrieb im Newsbeitrag
...
Yes, it works fine with Office 2007 files.

Regards,
Peter T

"Reinhard Thomann" wrote in message
...
Hi,
i intend to read document properties (meta info) of an Excel file with
dsofile.dll.
I read that it works fine with Excel 2003 file format.

Does ist also work with Excel 2007 file format?

TIA
Reinhard




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default dsofile.dll and Excel 2007 file format

If i change file extension to something else e.g. *.aaaa it fails.

It doesn't "fail" but you can't see all the Office doc' properties. Simply
rename the file before you start and rename as original when done

Sub test()
Dim sFile As String, sFileTmp As String
Dim dso As DSOFile.OleDocumentProperties

' first ensure the file is not already open

sFile = "C:\<path\myExcel2007file.aaaa"
sFileTmp = sFile & ".xlsx"

Name sFile As sFileTmp

Set dso = New DSOFile.OleDocumentProperties

dso.Open sFileTmp
' do stuff
dso.Close

Name sFileTmp As sFile

End Sub

Regards,
Peter T



"Reinhard Thomann" wrote in message
...
Thanks.
It works fine with dsofile.dll 2.1 as long as file extension is *.xlsx
If i change file extension to something else e.g. *.aaaa it fails.
Excel file format 97-2003 doesn't habe this restriction!

How can i overcome this behavior, because i don't like
to change the file extension of my application?

TIA
Reinhard


"Peter T" <peter_t@discussions schrieb im Newsbeitrag
...
Yes, it works fine with Office 2007 files.

Regards,
Peter T

"Reinhard Thomann" wrote in message
...
Hi,
i intend to read document properties (meta info) of an Excel file with
dsofile.dll.
I read that it works fine with Excel 2003 file format.

Does ist also work with Excel 2007 file format?

TIA
Reinhard






  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default dsofile.dll and Excel 2007 file format

Hi Peter,

that's it. Many thanks for your help.

Regards
Reinhard

"Peter T" <peter_t@discussions schrieb im Newsbeitrag
...
If i change file extension to something else e.g. *.aaaa it fails.


It doesn't "fail" but you can't see all the Office doc' properties. Simply
rename the file before you start and rename as original when done

Sub test()
Dim sFile As String, sFileTmp As String
Dim dso As DSOFile.OleDocumentProperties

' first ensure the file is not already open

sFile = "C:\<path\myExcel2007file.aaaa"
sFileTmp = sFile & ".xlsx"

Name sFile As sFileTmp

Set dso = New DSOFile.OleDocumentProperties

dso.Open sFileTmp
' do stuff
dso.Close

Name sFileTmp As sFile

End Sub

Regards,
Peter T



"Reinhard Thomann" wrote in message
...
Thanks.
It works fine with dsofile.dll 2.1 as long as file extension is *.xlsx
If i change file extension to something else e.g. *.aaaa it fails.
Excel file format 97-2003 doesn't habe this restriction!

How can i overcome this behavior, because i don't like
to change the file extension of my application?

TIA
Reinhard


"Peter T" <peter_t@discussions schrieb im Newsbeitrag
...
Yes, it works fine with Office 2007 files.

Regards,
Peter T

"Reinhard Thomann" wrote in message
...
Hi,
i intend to read document properties (meta info) of an Excel file with
dsofile.dll.
I read that it works fine with Excel 2003 file format.

Does ist also work with Excel 2007 file format?

TIA
Reinhard






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I import a file in DTF format into Excel 2007? nittany32 Excel Discussion (Misc queries) 1 March 31st 10 03:42 PM
HOW DO I CONVERT EXCEL FILE TO DBF FORMAT IN OFFICE 2007 ? MOHAN Excel Programming 1 March 25th 08 11:00 AM
Format of CSV file not preserved when edited in Excel 2007 JBeckett Excel Worksheet Functions 1 March 6th 08 03:00 AM
Openig CSV file format with Excel in Office 2007 jmarc Setting up and Configuration of Excel 1 August 17th 07 08:12 PM
Excel 2007 XML file format Gary Howlett Excel Programming 0 May 18th 07 12:01 PM


All times are GMT +1. The time now is 01:39 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"