MIME Types

A

Aerojade

i have a windows application that diaplays a word document streamin an
axwebbrowser. I am using VS 2005 and Microsoft office 2003. The document
stream that is sent to the axwebbrowser uses the mime type :
"application/msword". However i have noticed that i am only able to open
files this way on my system. On a system that uses Office 2000 or 2007, i am
unable to do this. Please help.


Note: Programming language: C#
 
K

Karl E. Peterson

Aerojade said:
i have a windows application that diaplays a word document streamin an
axwebbrowser. I am using VS 2005 and Microsoft office 2003. The document
stream that is sent to the axwebbrowser uses the mime type :
"application/msword". However i have noticed that i am only able to open
files this way on my system. On a system that uses Office 2000 or 2007, i am
unable to do this. Please help.

I'd bet the following key is missing on those non-cooperative systems?

HKCR\MIME\Database\Content Type\application/msword

First place I'd look, at any rate.
 
A

Aerojade

OK, now heres the new problem, after a little probing i found that the
problem was with the .NET framework. However now it opens only Word 2003
files. If i try to open Word 2000 files, it fails to do so. Please help.
 
K

Karl E. Peterson

Aerojade said:
OK, now heres the new problem, after a little probing i found that the
problem was with the .NET framework.

No sympathy here. That's an abomination; one which programmers who care about their
future would be well-advised to avoid.
However now it opens only Word 2003
files. If i try to open Word 2000 files, it fails to do so. Please help.

You need to provide better clues than that. There is no practical distinction
between the two filetypes as far as Windows is concerned.
 
A

Aerojade

OK. Here's the deal. Initially the program only functioned on my computer
which has Office 2003 installed on it. It would not function on the other
systems. However, after re installation of framework 2.0 and 3.0 on those
systems, it worked. Those systems have Word 2000 installed on them. Hence
when i tried to open a MS word file that was created using Word 2000, it
would not open and would come up with the error "Page cannot be displayed."
However when i sent a word file from my system(created in MS word 2003) to
the other systems and opened it using my application, it opened perfectly.
Moreover, when i i tried to open a document made in Word 2000 on my system,
it still did not work. Hence i am facing a problem that only word 2003 files
are opening up. Hope this is as detailed and you wanted.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top