473,385 Members | 1,317 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,385 software developers and data experts.

How to convert Content-Type to file extension

Hi All,

I managed to get Content-Type (i.e. image/gif) from file extension (.gif) in
Windows Registry, but the reverse way (from Content-Type to extension) is
more tricky. Does anyone know a way to do so?
Thanks and regards,
Jul 21 '05 #1
2 4884
The best resource for finding all known MIME types is in the Registry
at:
HKCR\MIME\Database

-Jason Kendall
Ja**********@hotmail.com
On Thu, 20 May 2004 15:22:52 +0200, "Anony" <An***@Nepal.NL> wrote:
Hi All,

I managed to get Content-Type (i.e. image/gif) from file extension (.gif) in
Windows Registry, but the reverse way (from Content-Type to extension) is
more tricky. Does anyone know a way to do so?
Thanks and regards,


Jul 21 '05 #2
Thanks, that helps.
"Jason Kendall" <Ja**********@hotmail.com> wrote in message
news:au********************************@4ax.com...
The best resource for finding all known MIME types is in the Registry
at:
HKCR\MIME\Database

-Jason Kendall
Ja**********@hotmail.com
On Thu, 20 May 2004 15:22:52 +0200, "Anony" <An***@Nepal.NL> wrote:
Hi All,

I managed to get Content-Type (i.e. image/gif) from file extension (.gif) inWindows Registry, but the reverse way (from Content-Type to extension) is
more tricky. Does anyone know a way to do so?
Thanks and regards,

Jul 21 '05 #3

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

Similar topics

5
by: Carl Gilbert | last post by:
Hi I have some ASP code that I want to run from CD within a VB.NET windows application with a web browser control. However, to get the ASP pages to run without a server is proving quite...
0
by: thomaz | last post by:
HI... I would like to know as to convert the content of a RitchTextBox for the format of HTML files. A method or a function exists to convert automatically?? Thanks; Thomaz
2
by: name | last post by:
The piece of code is for a Web Form Page. Who can tell me why? Thanks a lot! ------------------------------------------------ VB.Net Code: Protected Overrides Sub AddParsedSubObject(ByVal obj As...
5
by: moondaddy | last post by:
I have a website that currently has all static htm pages and nothing will be dynamic for quite some time. This site is made up of a bunch of htm pages. is there any advantage or disadvantage of...
15
by: musicmouse | last post by:
In my website (www.classiccat.net) the basic layout consists of two elements: - a centered block that has a fixed with of 720 - a right-aligned Google advertising block. When the visitor has a...
1
by: Jorge | last post by:
I want to convert this xml to pdf using cocoon <?xml version="1.0" encoding="ISO-8859-1" ?> <document> <header> <title>Pagina</title> </header> <body> <h1>Link dei siti pił visitati da...
4
by: dba_222 | last post by:
Dear Experts, Ok, I hate to ask such a seemingly dumb question, but I've already spent far too much time on this. More that I would care to admit. In Sql server, how do I simply change a...
3
by: bussiere maillist | last post by:
i've got a very long string and i wanted to convert it in binary like string = """Monty Python, or The Pythons, is the collective name of the creators of Monty Python's Flying Circus, a British...
1
by: bissatch | last post by:
Hi, When might you convert a database to XML format. I have read cases where it allows you to seperate the application logic from the data logic (have i got them right?) in a more application...
2
by: phil.swenson | last post by:
I'm using Prototype.js and would like to convert the contents of an HTML table to JSON. Converting to an array first is fine too. Any thoughts on this? I haven't seen anyone do anything this.......
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: 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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.