Loading a local file into a UIWebView control

Roger Eller roger.e.eller at sealedair.com
Wed Sep 14 21:11:53 CDT 2011


On Wed, Sep 14, 2011 at 9:59 PM, J. Landman Gay wrote:

> On 9/14/11 6:29 PM, John Dixon wrote:
>
>>
>> Jacque..
>> try...
>> put "file://"&  specialFolderPath("documents")&  slash&  "docs.html" into
>> tURL
>>
>
>
> Anyone know how many slashes should there be? I've seen examples with none,
> one, two, and three.
>
> I also tried setting the defaultfolder to documents and using just "file:"
> with no luck.
>
>
> --
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
>

With file: and binfile: on Windows, I never put slashes after :

put quote & "file:" & specialFolderPath("documents") & slash & "docs.html" &
quote into tURL

˜Roger


More information about the use-livecode mailing list