Office 2007 file association problem after file renaming

G

guntek

Hi,
I am using Office 2007 beta.
I have an application that creates a word 2007 file with extension D00,
D01, D02 etc. My application tries to open the D00 file using the app
associated with it but it doesn't work. When I try to open the D00
file by double clicking on it, then the Open File with dialog is
displayed. I can associate the file to D00 but I have several files
D01, D02, D03 etc that get created. This issue does not occur when I
use office 2003 (I do not have office 2003 on the testing machine, it
is a clean install of winxp pro and office 2007 beta). Is this a bug
or is there a workaround. Any help
would be greatly appreciated.
Thanks
Sanj
 
B

Bob Buckland ?:-\)

Hi Sanj,

I'm not clear if you're using part of Office as your application base or if you have written a different application altogether that
you're using to open the files.

Office 2007 file formats are zipped xml files that contain lookup tables that the Office 2007 apps (and Office 2000, Office XP and
Office 2003 can use via a converter addin) to display and assemble/disassemble the file contents. This is a completely different
format from the prior versions of Word. Beyond the file extension the MS Office 2007 apps examine the file content before sending
it to an Office app to be sure the contents are what the extension says they are.


If you save a file in the legacy 2003 version with your custom extension can you open those?

You may want to post in the Office Dev newsgroup as well using the link below.
==========
Hi,
I am using Office 2007 beta.
I have an application that creates a word 2007 file with extension D00,
D01, D02 etc. My application tries to open the D00 file using the app
associated with it but it doesn't work. When I try to open the D00
file by double clicking on it, then the Open File with dialog is
displayed. I can associate the file to D00 but I have several files
D01, D02, D03 etc that get created. This issue does not occur when I
use office 2003 (I do not have office 2003 on the testing machine, it
is a clean install of winxp pro and office 2007 beta). Is this a bug
or is there a workaround. Any help
would be greatly appreciated.
Thanks
Sanj >>
--
Please let us know if this has helped,

Bob Buckland ?:)
MS Office System Products MVP

LINKS
A. Specific newsgroup/discussion group mentioned in this message:
news://msnews.microsoft.com/microsoft.public.officedev
or via browser:
http://microsoft.com/communities/newsgroups/en-us/?dg=microsoft.public.officedev

B. MS Office Community discussion/newsgroups via Web Browser
http://microsoft.com/office/community/en-us/default.mspx
or
Microsoft hosted newsgroups via Outlook Express/newsreader
news://msnews.microsoft.com
 
G

guntek

Hi Bob,
Thank you for your prompt reply.

My application uses COM to generate the WORD document.
I tried opening the .DO1 file (generated in 2007) in word 2003 and I
get the same problem, the open with dialog pops up. Here is the
interesting thing: when I double click on the file the open with dialog
opens up and MS word is given as the recommended application to open
the file. So I would think that this file is being recognized by the
system as a word doc, its just not bypassing the open with dialog box.
Any ideas for a work around (possible registry entry etc).

Thanks
Sanj
 
B

Bob Buckland ?:-\)

Hi Sanj,

I'd still post this in the Office Dev newsgroup, but the part I didn't see answered in your reply is if you're saving in Word 2003
(.doc) format or 2007 (.docx) format. The 2003 format should open correctly in both versions.

==========
Hi Bob,
Thank you for your prompt reply.

My application uses COM to generate the WORD document.
I tried opening the .DO1 file (generated in 2007) in word 2003 and I
get the same problem, the open with dialog pops up. Here is the
interesting thing: when I double click on the file the open with dialog
opens up and MS word is given as the recommended application to open
the file. So I would think that this file is being recognized by the
system as a word doc, its just not bypassing the open with dialog box.
Any ideas for a work around (possible registry entry etc).

Thanks
Sanj >>

--
I hope this helped you,

Bob Buckland ?:)
MS Office system products MVP

LINKS to the 2007 Office System Beta

1. Free MS Office 2007 book from MS Press, 213 pages:
http://microsoft.com/learning/office2007/default.mspx#booksfrommspress

2.. Office 2007 Beta 2 Online Test Drive, Downloadable beta,
e-learning courses, doucmentation and movies:
http://microsoft.com/office/preview

3. Try the 2007 OfficeOnline preview website , without Office2007

a. Install the ActiveX access control
http://office.microsoft.com/search/redir.aspx?AssetID=XT101650581033

b. then visit
http://officebeta.iponet.net
 
Top