Text Documents (Writer)
HTML Documents (Writer Web)
Spreadsheets (Calc)
Presentations (Impress)
Drawings (Draw)
Database Functionality (Base)
Formulae (Math)
Charts and Diagrams
Macros and Scripting
Office Installation
Common Help Topics
OneOffice Logo

ConvertFromURL Function

Converts a file URL to a system file name.

Syntax:


ConvertFromURL(filename)

Return value:

String

Parameters:

filename: A file name as a string.

Error codes:

5 Invalid procedure call

Example:


    systemFile$ = "c:\folder\mytext.txt"
    url$ = ConvertToURL( systemFile$ )
    print url$
    systemFileAgain$ = ConvertFromURL( url$ )
    print systemFileAgain$