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


Thanks in advance.

--
Francisco Pires - Real Basic 2006 r1 PRO - iMac G5
_______________________________________________
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>

Reply via email to