I have used the folderitem's Launch method to do this without a hitch before.
There may be
circumstances where the user defined a non-browser program to open HTML files,
which isn't what
you have in mind. But if that's what the user wants, that what they get.
For the next version of ImagePlay I have designed a help system based around a
lightweight HTTP
server that supports searching. After I release the next ImagePlay I'll work on
packaging the help
server into a self-contained project and probably make an announcement on the
list.
Thank you,
~ Tomis
--- Xico Pires <[EMAIL PROTECTED]> 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
>
>
> 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>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
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>