473,387 Members | 1,456 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

File Extension

All,

Who knows how can we make the IE open the file with some non-standard
extension?

I have a new file type, say .MOX, I corrected the association on my computer
for this file extension, when I click on it it opens me my own program and
the program takes this file as a command line argument reading data from it.
That's simple.

When we download the file from ASPX page and the file has a standard
extension like .DOC or .ZIP, IE starts the appropriate application to work
with this file. When we click the link with the file IE wants us to Save or
Open this file on our computer. But if we click the link with the file with
this new extension IE only wants to save this file. Why?

How can we make IE to start an appropriate application with this file? Maybe
some additional strings should be added to the registry to do that?

Just D.
Dec 22 '06 #1
1 1961
One more detail. If I start the ASPX page on my machine either in debug or
release mode, but on localhost, IE wants me to Open or Save my file, but
when I upload the app to our HTTPS server and open the same ASPX page from
there the option Open disappears, I guess because of the security settings.
I can't believe that it's impossible to correct this situation, but how? IE
is able to open all Office files even if they are downloaded from the
Internet. What about my own custom files? Is it about these keys:

BrowserFlags 0x00000008 (8)
EditFlags 0x00010000 (65536)

Just D.
Who knows how can we make the IE open the file with some non-standard
extension?

I have a new file type, say .MOX, I corrected the association on my
computer for this file extension, when I click on it it opens me my own
program and the program takes this file as a command line argument reading
data from it. That's simple.

When we download the file from ASPX page and the file has a standard
extension like .DOC or .ZIP, IE starts the appropriate application to work
with this file. When we click the link with the file IE wants us to Save
or Open this file on our computer. But if we click the link with the file
with this new extension IE only wants to save this file. Why?

How can we make IE to start an appropriate application with this file?
Maybe some additional strings should be added to the registry to do that?

Dec 22 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Shapper | last post by:
Hello, I created a script to upload a file. To determine the file type I am using userPostedFile.ContentType. For example, for a png image I get "image/png". My questions are: 1. Where can...
1
by: laredotornado | last post by:
Hi, I'm using PHP 4.4.4 on Apache 2 on Fedora Core 5. PHP was installed using Apache's apxs and the php library was installed to /usr/local/php. However, when I set my "error_reporting"...
0
by: rautsmita | last post by:
hello friends , i am using to jdk6 and JAXB2.0, i have geomtry.xsd file i am trying to compile this file using jaxb but i got some error i.e.The particle of the type is not a valid restriction of...
1
by: shahidrasul | last post by:
i want to download a file which user select from gridview, downloading is completing without problem but after download i want to refresh my page because i do some changes in db . but when...
0
by: pedro007 | last post by:
I have 2 listviews and want to save the two lists into an excel file, not individually but save the 2 lists in 2 tables in a file. is that possible, what should I do? Thanks for your help. ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.