RC-WinTrans Object Model Help |
XMLTool.CheckMimeType |
Returns the mime type of the given file.
Syntax: |
CheckMimeType( URL As String ) As String |
Return: | String |
Parameters: |
URL URL of the file to be checked.
|
Example: | Dim Tool As XML Tool Set Tool = Application.Tools.XMLTool MsgBox Tool.CheckMimeType("file://localhost/c:/Data/Images/picture.jpg") MsgBox Tool.CheckMimeType("http://www.schaudin.com/picture.jpg") |
See also: