|
|
Subject:
Mime types and Visual Basic
Category: Computers > Software Asked by: johngl-ga List Price: $5.00 |
Posted:
15 Jul 2004 16:03 PDT
Expires: 14 Aug 2004 16:03 PDT Question ID: 374693 |
|
There is no answer at this time. |
|
Subject:
Re: Mime types and Visual Basic
From: macabre-ga on 16 Jul 2004 05:47 PDT |
The mime type is just a mapping that is managed by the operating system, and users can defeat it if they like. There is a very broad listing of "standard" mime types here: http://www.iana.org/assignments/media-types/ . Depending on what you're using this information for, it may be more appropriate to manage a table of types in your application than trust the system it is installed on. |
Subject:
Re: Mime types and Visual Basic
From: johngl-ga on 16 Jul 2004 12:33 PDT |
I need to be able to do it by file extension or the data itself. I'm having trouble finding a good source for both pieces of data. Thank you. |
Subject:
Re: Mime types and Visual Basic
From: macabre-ga on 16 Jul 2004 12:46 PDT |
You could borrow the type <-> extension mapping from the Apache configuration file (mime.types). Here's an example: http://unhinfo.unh.edu/NIS/Courses/Plug-ins/mime-types.html (note that this file contains many types that don't have related extensions, so you could ignore those for this purpose) |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |