On Feb 20, 2006, at 5:18 AM, Xico Pires wrote:
Is it possible to use ShowURL to launch a local HTML file on the
user's HD (Mac OS X) in their default browsr?
I have been trying to use a relative path to a HTML file but it
doesn't want to play.
Dim PastaLocal as folderitem
Dim fileStream As TextOutputStream
Dim Carregahtml as String
PastaLocal= GetFolderItem("temp.html")
carregahtml = ReplaceAll(PastaLocal.AbsolutePath, " " , "%20" )
carregahtml = ReplaceAll(carregahtml, "/" , "%3A" )
carregahtml = ReplaceAll(carregahtml, "/" , "%3A" )
carregahtml = ReplaceAll(carregahtml, ":" , "/" )
carregahtml = "file:///" + carregahtml
ShowURL carregahtml
I think the URL you're building looks like
file:///
and that's not right
It probably should be
file://
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>