Okay, maybe I didn't ask the right question. The filetype I've constructed
is actually just an XML file with a different file extension. When I load a
sample on my website and let the user click on it, what happens is that the
XML file itself appears like a text file, rather than letting the user Open
or Save it.
How can I change this?
--
Robert W.
Vancouver, BC
www.mwtech.com
"ta****@gmail.com" wrote:
You are forgetting a very important thing: Web applications cannot
access the registry on the client's computer. Desktop applications can
do that because they are running on the client's computer already and
have access to *all* the resources on the computer. The only way you
can create the associations you want is either:
Option 1
When your user downloads the file, and they try to open it, Windows
brings the unknown file type thing and asks the user to select an
application with which to open the file. Your user then selects the
application they want and clicks on 'always use this application to
open files of this type' or something like that. This is all obviously
totally out of your own control.
Option 2
You can distribute a small desktop application which creates and
registers the file type '.abc'. can even be an ActiveX control on your
web pages. but this is not desirable.
hope this helps