On Feb 21, 2006, at 1:53 , Norman Palardy wrote:
On Feb 20, 2006, at 4:28 PM, Harrie Westphal wrote:
On Feb 20, 2006, at 10:48 AM, Norman Palardy wrote:
I think the URL you're building looks like
file:///
and that's not right
It probably should be
Not right?
Here is an string that I just checked on my HD-2
file:///Volumes/Data/HomePagesAtWork/ibolya-new/hamnen.html
But use the inbuild RB features to handle this...
//
Dim dlg as OpenDialog
Dim f as FolderItem
dim urlStr as String
dlg= New OpenDialog
f=dlg.ShowModal()
If f <> Nil then
urlStr = f.URLPath
ShowURL urlStr
Else
//User Cancelled
End if
//
RB convert an folderitem perfectly to an urlString.
If you use this, you not get in in trouble if the html file is on
another volume.
If you use the urlStr and NOT f.Launch you also could add ancors like
this
ShowURL urlStr +"#Chapter1"
Sven E Olsson
_______________________________________________
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>